1. Visual Basic Compatible Error Messages

The Visual Basic compatible error messages are:

Number Message
3 Return without GoSub
5 Illegal procedure call
6 Overflow
7 Out of memory
9 Subscript out of range
10 This array is fixed or temporarily locked
11 Division by zero
13 Type mismatch
14 Out of string space
19 No Resume
20 Resume without error
26 Dialog needs End Dialog or push button
28 Out of stack space
35 Sub or Function not defined
48 Error in loading DLL
49 Bad DLL calling convention
51 Internal error
52 Bad file name or number
53 File not found
54 Bad file mode
55 File already open
57 Device I/O error
58 File already exists
59 Bad record length
61 Disk full
62 Input past end of file
63 Bad record number
64 Bad file name
67 Too many files
68 Device unavailable
70 Permission denied
71 Disk not ready
74 Can't rename with different drive
75 Path/File access error
76 Path not found
91 Object variable or With block variable not set
93 Invalid pattern string
94 Invalid use of Null
139 Only one user dialog may be up at any time
140 Dialog control identifier does not match any current control
141 The placeholder statement is not available on this dialog control type
143 The dialog control with the focus may not be hidden or disabled
144 Focus may not be set to a hidden or disabled control
150 Dialog control identifier is already defined
163 This statement can only be used when a user dialog is active
260 No timer available
281 No more DDE channels
282 No foreign application responded to a DDE initiate
283 Multiple applications responded to a DDE initiate
285 Foreign application won't perform DDE method or operation
286 Timeout while waiting for DDE response
287 User pressed Escape key during DDE operation
288 Destination is busy
289 Data not provided in DDE operation
290 Data in wrong format
291 Foreign application quit
292 DDE conversation closed or changed
295 Message queue filled; DDE message lost
298 DDE requires ddeml.dll
429 OLE Automation server can't create object
430 Class doesn't support OLE Automation
431 OLE Automation server cannot load file
432 File name or class name not found during OLE Automation operation
433 OLE Automation object does not exist
434 Access to OLE Automation object denied
435 OLE initialization error
436 OLE Automation method returned unsupported type
437 OLE Automation method did not return a value
438 Object doesn't support this property or method placeholder
439 OLE Automation argument type mismatch placeholder
440 OLE Automation error placeholder
443 OLE Automation Object does not have a default value
452 Invalid ordinal
460 Invalid Clipboard format
520 Can't empty clipboard
521 Can't open clipboard
600 Set value not allowed on collections
601 Get value not allowed on collections
603 ODBC - SQLAllocEnv failure
604 ODBC - SQLAllocConnect failure
608 ODBC - SQLFreeConnect error
610 ODBC - SQLAllocStmt failure
3129 Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'
3146 ODBC - call failed
3148 ODBC - connection failed
3276 Invalid database ID