Visual Basic/Error Handling

Error handling in Visual Basic, an outline:
 * On Error Goto 
 * On Error Goto 0
 * On Error Resume Next
 * If Err.Number = 0
 * If Err.Number <> 0
 * Resume
 * Resume 
 * Resume Next
 * Err.Description
 * Err.Raise 

Suppressing the error and detecting it using the non-zero error numberː

Creating an error handlerː

Creating an error handler that differentiates per error numberː

See also ../Effective Programming and ../Coding_Standards.