" **Developer**" <RE*************@a-znet.com> wrote in message
news:OE**************@TK2MSFTNGP14.phx.gbl...
Assume that the first line of a file is read with:
InputLine = LineInput(FileNum)
Looks like the Seek method is still supported so..... no need to close, just
use Seek.
Seek(FileNum, 1)
I'd provide the sample code the VB6 migration wizard provided but.... VSNet
crashed and burned when I hit F1 (or, maybe 90 seconds isn't enough to open
help anymore <sigh>) to look up help on the Seek method so.....
fwiw, I've written VB6 apps that use Seek to mark (and store) the beginning
of each line as they're read so I can return to any line in the file at
will. Surely, there's similar support in .Net (if you can keep it running
anyway ;-)
--
Ken Halter - MS-MVP-VB (visiting from VB6 world) -
http://www.vbsight.com
Please keep all discussions in the groups..