Hello!
I like to find a way to get the line numbers when I trap my UnhandledExceptions (that I set up in the ApplicationEvents.vb file).
During debugging mode (under the IDE.e) I can get this from the StackTrace method but this seems to not be available during run time outside the IDE.
Is there any way to achieve this?? For instance, if I run my app without trapping the unhandled exceptions .NET Framework shows it own dialogue box with trace info including a line number! Where does the MS people get this from?
Best regards/
Magnus
I like to find a way to get the line numbers when I trap my UnhandledExceptions (that I set up in the ApplicationEvents.vb file).
During debugging mode (under the IDE.e) I can get this from the StackTrace method but this seems to not be available during run time outside the IDE.
Is there any way to achieve this?? For instance, if I run my app without trapping the unhandled exceptions .NET Framework shows it own dialogue box with trace info including a line number! Where does the MS people get this from?
Best regards/
Magnus