A
Amjad
How can I determine the total number of lines in a text
file that contains streams of text data, without going
into a loop that reads the lines one by one?
Also, I use the following code to read each line and
proceed to the next one:
'****************************************
Dim sr as StreamReader = New StreamReader("C:\MyFile.TXT")
Dim line as String = sr.ReadLine()
'****************************************
How do I point the reference to line number 75 in the
text file for example without reading the lines one by
one in a loop? And how do I read the last line in the
text file directly?
Thanks
Amjad
file that contains streams of text data, without going
into a loop that reads the lines one by one?
Also, I use the following code to read each line and
proceed to the next one:
'****************************************
Dim sr as StreamReader = New StreamReader("C:\MyFile.TXT")
Dim line as String = sr.ReadLine()
'****************************************
How do I point the reference to line number 75 in the
text file for example without reading the lines one by
one in a loop? And how do I read the last line in the
text file directly?
Thanks
Amjad