Click to See Complete Forum and Search --> : Error Handling


Eis
October 25th, 1999, 04:10 AM
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



?

czimmerman
October 25th, 1999, 02:07 PM
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

Amendra
October 25th, 1999, 05:03 PM
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