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?