open file as binary

Billyp
07-17-2003, 04:06 PM
When I use the following line:

Open App.Path & "\users.bin" For Binary As #1

If the file exists when I write to it, am I appending to the file or overwriting the file?

I'm trying to write a couple longs to it, and one of the longs I'm changing doesn't seem to be getting updated.

Billyp
07-17-2003, 04:22 PM
I figured it out. I was reading the file before I did the write. My pointer was past the beginning of the file at that point.

I simply closed the file and reopened it.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum