|
-
September 24th, 2003, 12:29 PM
#1
Alternative to dynamic variant arrays?
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
Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|