elmowatson
Member
- Joined
- Jun 5, 2007
- Messages
- 17
- Programming Experience
- 1-3
VB.Net 2010
OK - I have an EXE that has several separate classes
I was always told that, in the .vb files, if you wanted Try/Catch error handling that, in the Catch ex as Exception area to 'Throw' a new Exception.
First question - then what? Where do I pop up a message box for the client (or do something) and not crash the app?
Second Question - I put in the following statement:
Throw New ApplicationException("Failed to find record.", ex)
The program seemed to be crashed at the End Try statement (when I debugged it)
OK - I have an EXE that has several separate classes
I was always told that, in the .vb files, if you wanted Try/Catch error handling that, in the Catch ex as Exception area to 'Throw' a new Exception.
First question - then what? Where do I pop up a message box for the client (or do something) and not crash the app?
Second Question - I put in the following statement:
Throw New ApplicationException("Failed to find record.", ex)
The program seemed to be crashed at the End Try statement (when I debugged it)