Handling Class-Module Errors in Form
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a Public Function defined in a form (eg: Form-Func() ) and, a Public Function in Class Module (eg: Class-Func() ). I have a global instance of the class. Now, in Form-Func() , I am calling Class-Func() If any error occurs in Class-Func(), I want it to be handled in the Form-Func(). But the call stack unwinding does not pass the unhandled error to Form-Func(). It pops the Runtime Error.
Please some one suggest a proper way to handle the Class-Module error
from within the caller Function outside the class context..Thanks Firoz