Vb Net Read Text File Line By Line

[Solved] Vb Net Read Text File Line By Line | Vb - Code Explorer | yomemimo.com
Question : vb.net read text file line by line

Answered by :

Dim reader as StreamReader = My.Computer.FileSystem.OpenTextFileReader(filetoimport.Text)
Dim a as String
Do a = reader.ReadLine ' ' Code here '
Loop Until a Is Nothing
reader.Close()

Source : https://stackoverflow.com/questions/16921080/read-a-file-line-by-line-with-vb-net | Last Update : Thu, 21 Jul 22

Answers related to vb net read text file line by line

Code Explorer Popular Question For Vb