Common Errors
Error No | Description | Fix |
6 | Overflow | Assigning a number larger than 32,767 to an Integer data type. |
7 | Out of Memory | |
9 | Subscript out of range | When you are referring to an item in a collection that does not exist. Trying to access an index that does not exist in an array or collection. |
11 | Division by zero | |
13 | Type mismatch | When the type of an argument does not match the expected type and cannot be implicitly converted. |
28 | Out of stack space | Means you have got an infinite loop in your code somewhere. |
43 | Object doesn't support the property or method | Means you have an object currently selected that doesn't support the code you are trying to run. |
49 | Bad DLL calling convention | Means that arguments passed to an external DLL do not match those that are expected. This error message can also be triggered for different reasons which cannot be explained. You should export all the modules, close and then insert new ones and copy and paste the contents back in. |
54 | Bad File mode | An attempt to write a read only file An input statement specifies a file opened for an access mode other than Input. A print statement specifies a file opened for access mode other than Output or Append. |
91 | Object variable or With block variable not set | An object is used before its reference has been assigned. |
Compile Error: Expected Variable | Means you have used a keyword for a variable name. | |
ByRef argument type mismatch | Means you need to declare the variable itself as opposed to grouping a declaration with commas. | |
Can't execute breakpoint at this point | Macros you are unable to step through in code while are making dynamic changes to the project. | |
Object library invalid | [Compile Error] - Means that one or more of the Visual Basic 6.0 ActiveX controls that have been placed onto a worksheet cannot be found. | |
Cannot insert object | same as above | |
The program used to create this object is Forms | same as above |
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext