Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count values in xml OR redim an array and keeping values

Status
Not open for further replies.

SMURF75

Programmer
Aug 28, 2004
87
GB
Im trying to build a somewhat general function for returning xmlvalues. Currently im returning the values in an arraylist, which is working fine. Problem is that that im assumed to use option strict on in all files. And option strict doesnt allow
Code:
string = arraylist.add(object)

So possible solutions could be:
If i could retrieve the number of items in the xmlfile and delare an stringarray (dont know if possible)

If i could redim the stringarray +1 for every value and keep the old values (dont know if possible)

Or if anyone has another idea that works?

- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top