IPB

Welcome Guest ( Log In | Register )

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 
Reply to this topicStart new topic
> Tutorial: Run Time Errors
Jack
post Mar 3 2006, 08:32 PM
Post #1


Ultimate spammer.
********

Group: Sr. Members
Posts: 5,593
Joined: 28-January 06
Member No.: 28



Note that this tutorial does not give specific solutions for fixing your errors. It merely attempts to provide general explanations of run-time errors for learning purposes. For help with your errors, look at the topics in the Tutorials and FAQs forum for more specific answers, use the search function, or if necessary make a topic in Scripting and Plugins. Also note that this tutorial is under construction - there are not explanations for each error yet. -Swent

5: Invalid procedure call or argument
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
17: Can't perform requested operation
28: Out of stack space
35: Sub or Function not defined
48: Error in loading DLL
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
61: Disk full
62: Input past end of file
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 not set
92: For loop not initialized
94: Invalid use of Null
322: Can't create necessary temporary file
424: Object required
429: ActiveX component can't create object
430: Class doesn't support Automation
432: File name or class name not found during Automation operation
438: Object doesn't support this property or method
440: Automation error
445: Object doesn't support this action
446: Object doesn't support named arguments
447: Object doesn't support current locale setting
448: Named argument not found
449: Argument not optional
450: Wrong number of arguments or invalid property assignment
451: Object not a collection
453: Specified DLL function not found
455: Code resource lock error
457: This key is already associated with an element of this collection
458: Variable uses an Automation type not supported in VBScript
462: The remote server machine does not exist or is unavailable
481: Invalid picture
500: Variable is undefined
501: Illegal assignment
502: Object not safe for scripting
503: Object not safe for initializing
504: Object not safe for creating
505: Invalid or unqualified reference
506: Class not defined
507: An exception occurred
1001: Out of memory
1002: Syntax error
1003: Expected ':'
1005: Expected '('
1006: Expected ')'
1007: Expected ']'
1010: Expected identifier
1011: Expected '='
1012: Expected 'If'
1013: Expected 'To'
1014: Expected 'End'
1015: Expected 'Function'
1016: Expected 'Sub'
1017: Expected 'Then'
1018: Expected 'Wend'
1019: Expected 'Loop'
1020: Expected 'Next'
1021: Expected 'Case'
1022: Expected 'Select'
1023: Expected expression
1024: Expected statement
1025: Expected end of statement
1026: Expected integer constant
1027: Expected 'While' or 'Until'
1028: Expected 'While', 'Until' or end of statement
1029: Expected 'With'
1030: Identifier too long
1031: Invalid number
1032: Invalid character
1033: Unterminated string constant
1034: Unterminated comment
1037: Invalid use of 'Me' keyword
1038: 'loop' without 'do'
1039: Invalid 'exit' statement
1040: Invalid 'for' loop control variable
1041: Name redefined
1042: Must be first statement on the line
1043: Cannot assign to non-ByVal argument
1044: Cannot use parentheses when calling a Sub
1045: Expected literal constant
1046: Expected 'In'
1047: Expected 'Class'
1048: Must be defined inside a Class
1049: Expected Let or Set or Get in property declaration
1050: Expected 'Property'
1051: Number of arguments must be consistent across properties specification
1052: Cannot have multiple default property/method in a Class
1053: Class initialize or terminate do not have arguments
1054: Property set or let must have at least one argument
1055: Unexpected 'Next'
1056: 'Default' can be specified only on 'Property' or 'Function' or 'Sub'
1057: 'Default' specification must also specify 'Public'
1058: 'Default' specification can only be on Property Get
4096: Microsoft VBScript compilation error
4097: Microsoft VBScript runtime error
5016: Regular Expression object expected
5017: Syntax error in regular expression
5018: Unexpected quantifier
5019: Expected ']' in regular expression
5020: Expected ')' in regular expression
5021: Invalid range in character set
30000: EN
32766: True
32767: False
32768: OK
32769: Cancel
32770: Help
32811: Element not found
32812: The specified date is not available in the current locale's calendar

This post has been edited by Swent: Jul 6 2007, 05:41 AM


--------------------
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
raylu
post Apr 8 2006, 04:59 PM
Post #2


Ultimate spammer.
********

Group: Sr. Members
Posts: 3,273
Joined: 29-December 05
From: Western Hemisphere
Member No.: 20



Here's a start:

5: Invalid procedure call or argument
()

6: Overflow
(The number you are trying to store is too big)

7: Out of memory
(Self-explanatory)

9: Subscript out of range
(You are trying to reference a non-existant element/index of an array)

10: This array is fixed or temporarily locked
()

11: Division by zero
(Self-explanatory)

13: Type mismatch
(You are trying to perform an operation on two variable types that are incompatable (ex: objFSO & "hi" - 5))

14: Out of string space
(The string is too long)

17: Can't perform requested operation
()

28: Out of stack space
()

35: Sub or Function not defined
(Self-explanatory)

48: Error in loading DLL
()

51: Internal error
()

52: Bad file name or number
()

53: File not found
(Self-explanatory)

54: Bad file mode
(Self-explanatory; You probably didn't use 1, 2, or 8 when opening the file)

55: File already open
(Something else (possibly the script itself) is editing the file)

57: Device I/O error
()

58: File already exists
(Self-explanatory)

61: Disk full
(Self-explanatory)

62: Input past end of file
(You are trying to read data that doesn't exist; consider using the .AtEndOfFile method)

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
(Self-explanatory)

91: Object variable not set
()

92: For loop not initialized
(Self-explanatory)

94: Invalid use of Null
(Self-explanatory)

322: Can't create necessary temporary file
()

424: Object required
()

429: ActiveX component can't create object
()

430: Class doesn't support Automation
()

432: File name or class name not found during Automation operation
()

438: Object doesn't support this property or method
()

440: Automation error
()

445: Object doesn't support this action
()

446: Object doesn't support named arguments
()

447: Object doesn't support current locale setting
()

448: Named argument not found
()

449: Argument not optional
(You are calling a function, sub, or other method that requires a certain number of non-optional arguments and you haven't provided all of them (ex: Command "user", "/whoami" with no True/False value)

450: Wrong number of arguments or invalid property assignment
()

451: Object not a collection
()

453: Specified DLL function not found
()

455: Code resource lock error
()

457: This key is already associated with an element of this collection
()

458: Variable uses an Automation type not supported in VBScript
()

462: The remote server machine does not exist or is unavailable
()

481: Invalid picture
()

500: Variable is undefined
()

501: Illegal assignment
()

502: Object not safe for scripting
()

503: Object not safe for initializing
()

504: Object not safe for creating
()

505: Invalid or unqualified reference
()

506: Class not defined
()

507: An exception occurred
()

1001: Out of memory
()

1002: Syntax error
()

1003: Expected ':'
(Self-explanatory)

1005: Expected '('
(Self-explanatory)

1006: Expected ')'
(Self-explanatory)

1007: Expected ']'
(Self-explanatory)

1010: Expected identifier
()

1011: Expected '='
(Self-explanatory)

1012: Expected 'If'
(Self-explanatory; You probably need End If somewhere but you have End Sub or End Function meaning you haven't closed all your If blocks)

1013: Expected 'To'
(Self-explanatory; see 1012)

1014: Expected 'End'
(Self-explanatory)

1015: Expected 'Function'
(Self-explanatory)

1016: Expected 'Sub'
(Self-explanatory)

1017: Expected 'Then'
(Self-explanatory)

1018: Expected 'Wend'
(Self-explanatory; see 1012)

1019: Expected 'Loop'
(Self-explanatory)

1020: Expected 'Next'
(Self-explanatory; see 1012)

1021: Expected 'Case'
(Self-explanatory)

1022: Expected 'Select'
(Self-explanatory; see 1012)

1023: Expected expression
()

1024: Expected statement
()

1025: Expected end of statement
(You have some valid code on a line followed by something where nothing should be)

1026: Expected integer constant
(Instead of providing one, you gave a variable string (ex: x = 3: x instead of 3 or Const x = 3)

1027: Expected 'While' or 'Until'
(Self-explanatory)

1028: Expected 'While', 'Until' or end of statement
(Self-explanatory)

1029: Expected 'With'
(Self-explanatory; see 1012)

1030: Identifier too long
()

1031: Invalid number
(Self-explanatory)

1032: Invalid character
(Self-explanatory; It could also mean you are reading a string from a file with a different charset or encoding)

1033: Unterminated string constant
(You're missing a closing " somewhere)

1034: Unterminated comment
()

1037: Invalid use of 'Me' keyword
()

1038: 'loop' without 'do'
(Self-explanatory)

1039: Invalid 'exit' statement
()

1040: Invalid 'for' loop control variable
()

1041: Name redefined
()

1042: Must be first statement on the line
()

1043: Cannot assign to non-ByVal argument
()

1044: Cannot use parentheses when calling a Sub
(You aren't calling a function but you have parenthesis (ex: AddQ("hi") instead of Call AddQ("hi") or just AddQ "hi")

1045: Expected literal constant
()

1046: Expected 'In'
()

1047: Expected 'Class'
()

1048: Must be defined inside a Class
()

1049: Expected Let or Set or Get in property declaration
()

1050: Expected 'Property'
()

1051: Number of arguments must be consistent across properties specification
()

1052: Cannot have multiple default property/method in a Class
()

1053: Class initialize or terminate do not have arguments
()

1054: Property set or let must have at least one argument
()

1055: Unexpected 'Next'
()

1056: 'Default' can be specified only on 'Property' or 'Function' or 'Sub'
()

1057: 'Default' specification must also specify 'Public'
()

1058: 'Default' specification can only be on Property Get
()

4096: Microsoft VBScript compilation error
()

4097: Microsoft VBScript runtime error
()

5016: Regular Expression object expected
()

5017: Syntax error in regular expression
()

5018: Unexpected quantifier
()

5019: Expected ']' in regular expression
()

5020: Expected ')' in regular expression
()

5021: Invalid range in character set
()

30000: EN
()


32811: Element not found
()

32812: The specified date is not available in the current locale's calendar
(You did something screwy with dates or the user did something screwy with his locale settings)


This post has been edited by raylu: Apr 8 2006, 05:00 PM


--------------------
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th December 2014 - 07:06 PM
Skin by Andrea
Website Legal Information | Hosted by LunarPages