Posted by ophline on 13:34:00 02-22-2003
Simple stuff, I am having a brain uh... lapse if that is the word. I need to read from a file a set of program names delimited by a ';' into an array. The number of programs will flucuate and I want to be able to find the number of items in the array so I can set them through a loop. Any help would be grately appreciated. Thanks
Posted by dxprog on 22:39:00 02-22-2003
Use UBound(arrayname) to find the size of your array.
[addsig]
Posted by ophline on 01:03:00 02-23-2003
Nice... I will see how far I get.
Posted by ophline on 02:03:00 02-23-2003
Okay, that worked, thanks. But now I want to save the combo box with the names in it to a file delimited by a ';', could you help anyone?
Posted by dxprog on 11:27:00 02-23-2003
Okay, you'll use a loop like so:
For i = 1 To Combo1.ListCount
Print #1 Combo1.List(i) & ";"
Next i
That should do the trick for you.
_________________
When I got VB, i could have flown without thrusters and shot down TIE Interceptors just by spitting at them.
[ This Message was edited by: dxprog on 2003-02-23 11:28 ]