CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
Microsoft VBScript runtime error '800a0009' Subscript out of range
- Article ID:
105 - Date Created
Tuesday, February 22, 2011 - This Article Has been Viewed
4602 times - Short Desc
When creating an Array, make sure that you provide the information that is needed in order for the Array to carry out its job. - Details
When you are splitting an array and the valley is not available for the Array to split, then you will receive the following error.
Microsoft VBScript runtime error '800a0009'
Subscript out of range: '[number: 0]'
/Properties.asp line 116
This error means that you are not providing the numbers that are needed in order for the Array to carry out its job. - Recreate Issue
To recreate this issue.
Example:
myImageDem = " "
myImageAr = Split(myImageDem,"x")
The above code will create the error because the myImageDem is empty, there is no value for it to return a results for. - Resolve Issue
To correct this issue.
The following Example will create a Proper Array
myImageDem = "100x200"
myImageAr = Split(myImageDem,"x")
In the above example, we are passing the 100x200 Value into our Array.
So the code will execute properly.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16826