Dynamic array in VB NET

  • Thread starter Thread starter htran
  • Start date Start date
H

htran

Hello, is is possible to create a dynamic array in VB NET as in VB6 and
then use Redim Preserve after determining the index of the array?
Thank you in advance for your help.
 
You might find it's easier just to use a collection class built into the
..NET framework ... like ArrayList for example.
 
hrtan, Yes
Following all work in an application I have

ReDim aRptData(0) 'Reset the array
ReDim Preserve aRptData(3) 'Start with array size of 3
ReDim Preserve aRptData(nACtr + 4)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top