vb streamreader

The solution for “vb streamreader” can be found here. The following code will assist you in solving the problem.

Dim fileReader As System.IO.StreamReader
fileReader =
My.Computer.FileSystem.OpenTextFileReader(“C:\\testfile.txt”)
Dim stringReader As String
stringReader = fileReader.ReadLine()
MsgBox(“The first line of the file is ” & stringReader)

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts