Computer Science Canada

Re-Read without Close and Re-Opening

Author:  beamer [ Sun Nov 30, 2008 5:43 pm ]
Post subject:  Re-Read without Close and Re-Opening

I need to find a better way to read a file once, then go back to the beginning and read it again without closing and re-opening.

I open it, then in a for loop find the number of lines, the close it. After that I make an array that size, then re-open and read it for data.

There has to be a better way to make VB think it's not at the End of File, or just move it back or reset it.

Thanks!


: