The answer to this question may be really easy, but my brain is turning to mush with the learning curve moving to .NET.
.
We are moving a vb6 COM dll to vb.net. There is a LARGE amount of dynamic, compund arrays declared as follows in vb6:
.
dim aMyArray() as Variant
then later in the code it is changed as follows:
REDIM aMyArray(x,12)
with x being the number of records returned in a given table query. The 12 represents KNOWN (but mixed) datatypes ie... string, date, etc...
Q. Can each sub element (0-11) be initialized to their respective datatypes? If so, where would they be initialized and how?
.
Thanks
Paul