Import Text File Into Array

January 27, 2011 at 19:41:38
Specs: Windows XP
I am using Visual Basic Express 2008. I have a text file with lines of data. I would like to import these lines of text into an array. The list includes numbers like:
445
223
776
491

Any help would be great.


See More: Import Text File Into Array

Report •


#1
February 15, 2011 at 09:48:13
you must read about using arrays in vb document.

to do your work, you need the dynamic array.

(or you can tray using your vb-common control library)


Report •

#2
February 15, 2011 at 09:51:43
you must be on your way now

read this


Report •

#3
February 15, 2011 at 23:49:57
I like how the OP explicitly says he's using VB.NET, and everyone gives him VB6 answers.

R8ter63: What you need is System.Collections.Generic.List(T).

How To Ask Questions The Smart Way


Report •
Related Solutions


Ask Question