hello
I use visual basic 6.0.
I want to read file twice.
First i read file then i don't know how to move the file pointer to the start point.
i don't want to close file and reopen.
example)
Open InputFileName For Input As #1
While Not EOF(1)
Line Input #1, line
...
Wend
'move file pointer to the start point
'i don't know this
While Not EOF(1)
Line Input #1, line
...
Wend
Close #1
thanks for reading
I use visual basic 6.0.
I want to read file twice.
First i read file then i don't know how to move the file pointer to the start point.
i don't want to close file and reopen.
example)
Open InputFileName For Input As #1
While Not EOF(1)
Line Input #1, line
...
Wend
'move file pointer to the start point
'i don't know this
While Not EOF(1)
Line Input #1, line
...
Wend
Close #1
thanks for reading
Comment