can anyone please tell me how to set a pointer to a location after a specific word like "end" of a file header ? i have data after the header which i want to retrieve.
thanks
vb rules
Printable View
can anyone please tell me how to set a pointer to a location after a specific word like "end" of a file header ? i have data after the header which i want to retrieve.
thanks
vb rules
The file pointer is now aimed after the first occurrence of the word "end"Code:open "myfile" for input as #1
a$ = input(lof(1), 1)
p = instr(a$,"end")
Seek #1, p + len("end")