Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading a Text File

Status
Not open for further replies.

msmiley

Programmer
Jan 31, 2002
4
US
Is is possible to read in a text file, line by line, into VB so that it will recognize when each line is different.

Ex:
Ln1 Sentences with words.
Ln2 Sentences with different words.
Etc

I want to be able to read in each line and have VB recognize when a line is different.

Is this at all possible?

HELP!!!! :-0
 
It would be helpful to see a sample of the text file. Troy Williams B.Eng.
fenris@hotmail.com

 
The best solution is to use the FileSystemObject object!
Check the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top