Hi!
Someone Can tell me how to know if a string ex.: "TAG2" is in a binary file and how to know is position?
Thanks!
JP III
Printable View
Hi!
Someone Can tell me how to know if a string ex.: "TAG2" is in a binary file and how to know is position?
Thanks!
JP III
Code:dim buffer as string,position as long
open file for binary as #1
buffer=space(lof(1))
get #1,,buffer
position = instr$(buffer,"TAG2")
Close #1