I want the designer to catch an error when I debug, and I want the user to see my welcome message if an error occurs for them. I know that I can accomplish this with the following:
Try
'some code here
Catch ex as exception
Messagebox.Show("Errors suck")
End Try
I don't want to write all #statements and make them clutter up my code. It seems like this should be a common need, and there should be a better way. Does anyone know a better way?
Chris
source
share