Home All Groups Group Topic Archive Search About

Need help to read text file?

Author
27 Apr 2006 6:43 PM
Weblearner
I need to read a text file line by line (one line at a time),
what are my options?
Thanks

Author
27 Apr 2006 7:41 PM
Kerry Moorman
Weblearner,

One option is to use StreamReader.ReadLine.  Visual Studio Help has examples.

Kerry Moorman


Show quoteHide quote
"Weblearner" wrote:

> I need to read a text file line by line (one line at a time),
> what are my options?
> Thanks
>
>
>
Author
27 Apr 2006 10:31 PM
Herfried K. Wagner [MVP]
<Weblearner> schrieb:
>I need to read a text file line by line (one line at a time),
> what are my options?

Reading a text file line-by-line or blockwise with a progress indicator
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=readfile&lang=en>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>