this mate?
VB Code:
Dim sr As New StreamReader("D:\My Documents\Docs\pautot.txt") MessageBox.Show(Regex.Matches(sr.ReadToEnd, "\n").Count + 1) ' plus 1 cause no \n in the last line
|
Results 1 to 24 of 24
Hybrid View
|
Click Here to Expand Forum to Full Width |