I'm acutally using VB6, not VB.NET, but I couldn't find the newsgroup for
version 6....
I need help for something that should be simple. I keep getting a
"subscript out of range" error and don't know why. Briefly....
I have an array of Variants dimmed as this:
Global gMyConnection() As Variant
I redim it later like this:
ReDim gMyConnection(66)
In a FOR loop (For i = 0 to 65) I am doing this:
Set gMyConnection(i) = New MyClass
* NOTE: There is no class_initialize in the MyClass class.
On this "Set" line, when i = 65, I keep getting an "Error 9 subscript out of
range" error. It works for i = 0 to i = 64.
Any ideas?