Getting the Line Number on a VB error
Hi All,
Well my project has gone out to the public, 5 have sold, and already problems, I have tried to trap the errors, and its all fine and well getting the error number and description, but getting when its doing it out of the user is a nightmare.
surely there must be a way in Visual Basic you can get it to return the Line number the error is happening on ?
Does anybody know how to achieve this ?
Please, please, please, please help.....
As we are into it...write to a log file.
Another useful tecnique is to open a (txt) file for append
and write some infos in it
(like "Stepped in this sub", "found this value", "raised this error"...)