PC Review


Reply
Thread Tools Rate Thread

Need help to read text file?

 
 
Guest
Posts: n/a
 
      27th Apr 2006
I need to read a text file line by line (one line at a time),
what are my options?
Thanks


 
Reply With Quote
 
 
 
 
=?Utf-8?B?S2VycnkgTW9vcm1hbg==?=
Guest
Posts: n/a
 
      27th Apr 2006
Weblearner,

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

Kerry Moorman


"Weblearner" wrote:

> I need to read a text file line by line (one line at a time),
> what are my options?
> Thanks
>
>
>

 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      28th Apr 2006
<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/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unbound text control, read from/write to text file Song Su Microsoft Access Forms 3 4th Jan 2010 07:47 PM
In file parsing, taking the first few characters of a text file after a readfile or streamreader file read... .Net Sports Microsoft ASP .NET 11 17th Jan 2006 01:44 AM
Read Text File and split them to individual text file Krish Microsoft C# .NET 3 21st Oct 2005 04:49 AM
Read Text File and split them to individual text file Krish Microsoft ASP .NET 1 20th Oct 2005 05:39 PM
How to read Arabic text-file into Rich Text Box (Microsoft or Lebans)? TonyImagine Microsoft Access Form Coding 0 18th May 2005 05:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:27 PM.