• Coding
  • Handling Errors and Exceptions in VB 6.0

hello guys and girls ..

anyone got an idea on how to handle errors and exceptions in vb 6.0

akid first i do tests on some values and such stuff

but there are errors that can happen on which we don't have control

any idea else than writing for each sub : on error go to errHandler :
then do work for the error handler:

any smart solution for that, smart error handling
like from error code u can display a message pre-saved or something like that
maybe something with log file
any one did such a solution before

i am ready for any suggestions

i have to do it for an application..so i thought i would just ask, maybe it would save me some time
cuz really need each minute :D

eh..ba3dneh bil 6.0 ..this is my last project bil 6.0 .. yalla can't wait to switch
sorry for askin outdated help :P
sorry if my post is not that readable
You still using VB6.0!

Damn, we are reaching VB.NET 3.0 soon!

I guess it is time for you to grab a good .NET book and start looking to the future
Hah .... i dont see .net as being so good. so i'm still on 6.0 cause i want to :P
usually this is the only method i use. on Err goto ..... and then you have the Err class to look at all kind of stuff.
Err.Description Err.Code etc ....
you can use On Local Error and on Global error. check syntax tho. not sure ho it's written :P
i'll see if there is any other method.