Posted By

joseamirandavelez on 06/09/12



Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Read a Text File Line by Line

 / Published in: Visual Basic

Basic commands for reading a text file one line at a time.

  1. theFile=FreeFile
  2. Open File_Path_String For Input As theFile ' Open file for input.
  3. Line Input theFile, MyString ' Read single line into a variable.
  4. Close theFile

Report this snippet  

You need to login to post a comment.