wonder_gal
Active member
- Joined
- Jun 5, 2006
- Messages
- 34
- Programming Experience
- 1-3
Hi,
I am writing a function to read from a text file.
May I know is there any vb.net built in function that I can use to omit the first line while reading the text file.
My current code is
Is there any condition that I can check so that I can avoid reading the first line? Thanks.
I am writing a function to read from a text file.
May I know is there any vb.net built in function that I can use to omit the first line while reading the text file.
My current code is
VB.NET:
[COLOR=black]Dim oReader As New System.IO.StreamReader(strFilePath)
[COLOR=Red]XXXXXXXXXXXXXXXXXXXXXXXXXX[/COLOR]
[/COLOR]strTextLine = oReader.ReadToEnd
oReader.Close()