Question:
I need to change one offset value in a binary file. How can I read the file with Visual Basic?
Answer:
I would recommend loading the file into an array of type Byte. You should beable to then find the particular offset by simply counting from the beginningof the file, changing the value in question, and then writing the file backout. Take a look at the help for the Open statement. It can open a file for Binary access, which will let you read a single byte at a time.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.






















