Errors Summary (Visual Basic)


Updated: July 20, 2015

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Visual Basic language keywords and run-time library members are organized by purpose and use.

ActionLanguage element
Generate run-time errors.Clear, Error, Raise
Get exceptions.GetException
Provide error information.Err
Trap errors during run time.On Error, Resume, Try...Catch...Finally
Provide line number of error.Erl
Provide system error code.LastDllError

Visual Basic Runtime Library Members