A
André Freitas
I got the following code:
Dim vReader As StreamReader
Dim Line As Integer
vReader = File.OpenText("file here")
While Not (vReader.ReadLine() Is Nothing)
line = line + 1
End While
After this, depeding of the number of lines of the text files, i need to get
a few of them. But i already have read all lines of the text file.
So, do i realy need to open the same file again, like:
vReader.Close()
vReader = File.OpenText("same file")
.... read the lines i need.
vReader.Close()
Regards,
André
Dim vReader As StreamReader
Dim Line As Integer
vReader = File.OpenText("file here")
While Not (vReader.ReadLine() Is Nothing)
line = line + 1
End While
After this, depeding of the number of lines of the text files, i need to get
a few of them. But i already have read all lines of the text file.
So, do i realy need to open the same file again, like:
vReader.Close()
vReader = File.OpenText("same file")
.... read the lines i need.
vReader.Close()
Regards,
André