C
Chris Lee
I have a vexing problem with an object of multidimensional array. The
function
I call (an external com function) is supposed to return a 2-D array
that looks like this: (0,0), (1,0) ......, (n,0).
Here is a snippet of my code
Dim oResults as object
Dim row as integer
oResults = GetMultidimensionalArray() 'This returns a 2-D array
of strings
For row = 0 to oResults.GetUpperBound(0)
Console.Writeline oResults(row,0).getvalue(row,0)
next
This failed to return the required list of strings. I can see from the
Watch screen that the 2-D array contains strings.
function
I call (an external com function) is supposed to return a 2-D array
that looks like this: (0,0), (1,0) ......, (n,0).
Here is a snippet of my code
Dim oResults as object
Dim row as integer
oResults = GetMultidimensionalArray() 'This returns a 2-D array
of strings
For row = 0 to oResults.GetUpperBound(0)
Console.Writeline oResults(row,0).getvalue(row,0)
next
This failed to return the required list of strings. I can see from the
Watch screen that the 2-D array contains strings.