In .NET there is a totaly new way to read from file, StreamReader
VB Code:
Dim AReadedLine As String ' The buffer string that will contain the strings read Dim MyStreamReader As System.IO.StreamReader = New System.IO.StreamReader("MyFileName") ' Open the file AReadedLine = MyStreamReader.ReadLine() ' Read a line from the file




Reply With Quote