hey,I know the foll. Method to read the textfile line by line. & it is also working Fine. But I want to know that method which includes EOF(End Of File).
Can Somebody tell me that method.
sFilename = "C:\Listview.txt"
If Dir(sFilename.ToString) <> "" Then
sFileReader = System.IO.File.OpenText(sFilename)
sInputLine = sFileReader.ReadLine()
Do Until sInputLine Is Nothing
sInputLine = sFileReader.ReadLine()
Loop
End If