In this tutorial, I cover dealing with unhandled exceptions or errors in your application. Instead of the application crashing, you can add a simple Try Catch to deal with any unhandled exceptions. I use a simple application that will start a process here.
For more information, check out the website:
http://howtostartprogramming.com/vb-n...