Use Try block to handle the exception to a block of code. Add Catch blocks, to catch error on runtime. When an exception is thrown in a Try block, Visual Basic looks for the Catch statement that handles the exception.
Here we will see vb.net error handling with some examples. This post is very useful for beginner in software development to handle the errors. Now let’s start to see error handling.














