Ignore first line of file [RESOLVED]
Hey,
I'm im a kind of sticky situation here...
I know how I would skip to the second line of a file using StreamReader, i would just do:
VB Code:
streamer.ReadLine()
Dim strLine as String = streamer.ReadLine()
So basically that skips the first line and puts the second line into the string strLine
But... I've gone and stupidly used FileOpen instead, and have already implemented this throughout the entire code so I can't switch back now! Aggh!
If I were to rewrite this prog I would definitely stay away from FileOpen, but i used it because it was quick and easy to read through the file fast.
So... is there the same method as that, that I shown for the streamreader with FileOpen instead? So I can just ignore the first line and read the rest instead.
Thanks a bunch!