Question : reading from a file vb.net
Answered by : dunk-shot-enthusiast
Imports System.IO 'At the very start
Using file As StreamReader = New StreamReader(filePath) Do 'Loops through everything in the file Dim currentLine = file.ReadLine() 'Returns the current line then moves on. Loop Until file.EndOfStream
End Using
Source : | Last Update : Sun, 19 Jun 22