Christian Smith wrote:
John Newby uttered:

Hi Martin, I'm not sure, I don't use VB that often, I just need to use it
for my Uni project at the moment.



With all due respect to your University, but VB sucks as a teaching language IMO. Doesn't your Uni have better development tools? Any professor that advocates VB is not worthy of the title.

guru Edsgar Dykstra - "A person whose introduction to programming is the Basic language is mentally mutilated beyond hope of redemption". Those who ignore the lessons of history are bound to repeat them.



Many thanks

John.

On 13/07/06, Martin Jenkins <[EMAIL PROTECTED]> wrote:


John Newby wrote:
> Yeah I can get the names, but I need to put them in an array, and to put > them in an array I need to know the size of the array to store them in,
> so I
> need to get a count first, then store this number as the size of the
array
> before I store the values into the array.

Are you sure there no dynamic container objects in VB that support an
"append" method? Lists?

If not (and I find that hard to believe) you could hack around it by
appending the names to a string, then parsing the string and then
dimensioning your array, or you could build a linked list but ... surely
VB has more intelligent containers than statically sized arrays?

Martin



--
    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
     X                           - AGAINST MS ATTACHMENTS
    / \

Reply via email to