Well, you have 2 choices.
Choice A: Use structured error handling (Try Catch Finally) but, for what you are wanting to do, this could become cumbersome.
You would have to do something like this
Try
'Line of code
Catch
End Try
Try
'Line of code
Catch
End Try
Try
'Line of code
Catch
End Try
So you would have to place each line of code inside its own Try Catch to continue execution of your application.
Choice B: You can use unstructured error handling :shudder:
Private Sub foo()
On Error Resume Next
End Sub
This will cause any exceptions that are thrown to be sliently handled and the execution of your code will continue on.
You can use one or the other, but you can NOT mix and match them so be aware of that. For more information read this:
http://msdn2.microsoft.com/en-us/library/aa289505(VS.71).aspx
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========