Are you using: Open File For Binary Access Write As? If so, how are you using the Put statement? Like this?: Put #1, 12, Data If that's the case, then you're probably getting an error where the number 12 is. 12, in this example, is the number of bytes, or the "offset" to place the data. So, it would seek 12 bytes into the file, and place the data after that. However, if there are not 12 bytes in the file then you will get the "Bad Record Length" error.
|