|
-
August 12th, 1999, 05:29 AM
#1
Error catching
A class method Toto call Err.Raise ... .
In my project, i have an object of this class and i call the Toto method :
on error Goto Label
Obj.Toto ...
[...]
Label:
When i call Toto, and when an error occurs, the execution continues, and there's no jump to my Label.
What's the solution ?
Thanks !
<KfR>
-
August 12th, 1999, 06:11 AM
#2
Re: Error catching
You don't mention if you are running this as an EXE or through the VB IDE. I suspect that you have the 'Break In Class Module' error handler switched on (see Tools->Options->General->Error Trapping).
If this isn't the case, then is it possible that an error handler elsewhere in the TOTO class is capturing the error and acting on it ?
Chris Eastwood
CodeGuru - the website for developers
http://www.codeguru.com/vb
-
August 12th, 1999, 07:44 AM
#3
Re: Error catching
I was running my app through the VB IDE with 'Break In Class Module' error handler switched on ...
I switched it off ! And it works good !!
Thanks a lot !!
Regards.
<KfR>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|