[RESOLVED] FilestreamReader Help
I am a complete novice to Visual basic. I am trying to read a text file and input the data into a array for further calculations. Any Ideas??
filestreamReader = IO.File.OpenText("Cxxx.txt")
Do While Not filestreamReader.EndOfStream
lineIn = filestreamReader.ReadLine
Re: [RESOLVED] FilestreamReader Help
Hard to say without more info, perhaps the readalllines method will do what you want. It basically reads the file into an array with each line in its own element. If you want to break it up some other way then need to know the file structure first.