|
-
Apr 15th, 2003, 09:01 AM
#1
Thread Starter
Lively Member
onerror probs
i have this code :
_________________________________________
On Error GoTo ErrHandler
path = GetSetting(App.EXEName, "path", "dir")
ErrHandler:
Call errorpad
____________________________________
my program always calls the "errorpad" procedure, no matter what, even if there is no problem (no error should be accured).
if i write only:
_______________________________________
path = GetSetting(App.EXEName, "path", "dir)
_________________________________________
then my program is working just fine and no error msgs or debuger are being loaded.
I guess that means there wasn't a problem in the first place and the "errorpad" shouldnt be load befor.
Is my vb trying to confuse me?how can i fix this problem?
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
|