I have to use ASP for an upload script I’m working on, despite the fact that PHP handles uploads much better. Anyhow, here’s my problem:
I’m using a class DynamicArray, courtesy of 4GuysFromRolla.com.
I include it in my page (default.asp), then create new instance of it:
Dim objDynArray
Set objDynArray = New DynamicClass
When I view it in the browser, I get the following error:
Microsoft VBScript runtime error '800a01f4'
Variable is undefined: 'DynamicClass'
/traxx_atlanticpetroleum/UploadWSC/default.asp, line 68
If I remove the include statement, and paste the whole code in above where the new class object is created, I now get this error:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/traxx_atlanticpetroleum/UploadWSC/default.asp, line 67
Class DynamicArray
This is the class I used: http://www.4guysfromrolla.com/webtech/code/array.class.asp.html
Can anyone tell me what’s going on?