Is there a list of errors for VB6?

I handle errors with

on error goto 

and when error handling is activated, I want to handle errors like this ...

 If Err.Number = this Then do_this ElseIf Err.Number = that Then do_that Else do_the_other End If 

To do this, however, depends on which errors generate which numbers. Is there a list of them somewhere (I could not find it)?

+8
vb6
source share
2 answers

Here are the basic errors in Visual Basic 6.0:

Trappable Errors - Visual Basic for Applications link - Visual Studio 6.0

The search for "Trappable errors" also creates such a list for VS 2008 (that is, Office 2007) and a list for the undefined version from 2006 (it should also be Office 2003).

+13
source share

To get help (press f1), select the index tab and enter "trappable errors".

(assuming vb6 support is installed)

+5
source share

Source: https://habr.com/ru/post/649933/


All Articles