Visual Basic Language Reference  

Visual Basic Compiler Errors

Visual Basic compiler errors occur when the compiler encounters problems in the code. The code causing the errors is marked with a wavy line underneath it in the Code Editor, and when your mouse pauses over the marked code, the error message appears. The messages also appear in the Task List.

To get help for a particular error message

-or-

  1. Click Search on the Help menu.
  2. Type the error message in the Look for box in the Search window.
    Note   Remember that displayed error messages often incorporate identifiers from the code, such as variable or project names, as well as the type names for these elements; these are not part of the underlying error message. Be careful not to include these words as part of your search.

See Also

Visual Basic Run-Time Errors | Debugging Code in the Editor