Home > Language Reference > Error Messages
Runtime Errors
This section describes the different errors that can be raised when executing a program. All errors can be intercepted and handled using the On Error Goto statement (apart from error 2 and in certain cases error 1). If the programmer has not defined any error handler, these errors cause a dialog box containing the error number and description to be displayed.
| Number | Description |
| 1 | Out of memory. |
| 2 | System version 3.0 or greater is required to run this application. |
| 3 | Invalid operation for current launch code. |
| 4 | Type mismatch. |
| 5 | Invalid parameter. |
| 6 | Object variable not set. |
| 7 | Object cannot be cloned. |
| 8 | Cannot launch application. |
| 9 | Array exceeds 64 Ko. |
| 10 | Subscript out of bounds. |
| 11 | Floating point invalid operation. |
| 12 | Floating point overflow. |
| 13 | Floating point underflow. |
| 14 | Floating point divide by zero. |
| 15 | Date overflow. |
| 16 | Date underflow. |
| 17 | Duplicate key in collection. |
| 18 | Too many items in collection. |
| 19 | Invalid stream operation. |
| 20 | Attempt to read/write beyond end of stream. |
| 21 | Event handler not found. |
| 22 | Timeout error. |
| 23 | Connection failed. |
| 24 | Not connected. |
| 25 | Transmission error. |
| 26 | DNS error. |
| 27 | Connection closed by remote host. |
| 28 | String too long. |
| 29 | Invalid format specification. |
| 30 | Attempt to modify string constant. |
| 31 | Too many items in list or popup. |
| 32 | Uninitialized bitmap. |
| 33 | Unsupported bitmap format. |
| 34 | Syntax error in SQL query. |
| 35 | Too complex SQL query. |
| 36 | Type mismatch in SQL query. |
| 37 | Invalid cursor operation. |
| 38 | No current record. |
| 39 | Wrong database type. |
| 40 | Database not opened. |
| 41 | Cannot open database. |
| 42 | Database is corrupted. |
| 43 | Database not found. |
| 44 | Sharing violation. |
| 45 | Database is read-only. |
| 46 | Record is archived. |
| 47 | Record is busy. |
| 48 | Record is deleted. |
| 49 | Record or resource not found. |
| 50 | Maximum number of records reached. |
| 51 | Generic database error. |
| 52 | File system library not opened. |
| 53 | Invalid file reference. |
| 54 | File still opened. |
| 55 | Permission denied. |
| 56 | File already exists. |
| 57 | File or directory not found. |
| 58 | Invalid volume reference. |
| 59 | Directory is not empty. |
| 60 | Invalid name. |
| 61 | Volume full. |
| 62 | File is not a directory. |
| 63 | File is a directory. |
| 64 | Generic VFS error. |
| 65 | Unimplemented VFS function. |
| 66 | Library not found. |
| 67 | Unable to load library. |
| 68 | Syntax error in regexp. |
| 69 | Too complex regexp. |
| 70 | Too many Bluetooth connections. |
| 71 | Bluetooth out of memory. |
| 72 | Bluetooth service not found. |
| 73 | Generic Bluetooth error. |
| 74 | Invalid data format. |
| 75 | Telephony error. |
| 76 | Too complex XML file. |