VB.Net Tutorial/Stream File/TextReader
Use TextReader to read text file
Imports System.IO
Public Class Tester
Public Shared Sub Main
Dim trNewFile As System.IO.TextReader
trNewFile = New IO.StreamReader("test.txt")
Console.WriteLine(trNewFile.ReadToEnd())
End Sub
End Class