I have some Classes and Functions in a Activex dll. And some Classes call methods of other Classes.
How and where should I do the Error Handling ?
Is there any other way as
on error goto
?
Printable View
I have some Classes and Functions in a Activex dll. And some Classes call methods of other Classes.
How and where should I do the Error Handling ?
Is there any other way as
on error goto
?
I think you want to use err.raise. This will allow an error in a called function to be handled by an error handler in the caller. See the documentation for more info to see if this will solve your problem.
Charlie Zimmerman
http://www.freevbcode.com
You can write a common Goto DLL and use that DLL for handling all the errors. Inside a class or a function you will just call Error handling DLL when an Error occurs. This might help you.
Amendra