CompuServe Messages

#Floppy File Errors

    15-Oct-91 10:45:06
Fm: Don Funk 76701,155
To: Kenny Lee 76054,215
Hi Kenny, I tried a quick example similar to what you were stating. I was able to duplicate and learn what VB is doing. WHen you are writting to disk, you are actually writting to the Windows file buffer, to be written when Windows determines the need. It will not generate an error until this buffer is filled and windows tries to write to disk, or when you close your file…whichever occurs first. In any event, you will still be able to trap this error as you have and still handle it and retieve/store the information you are wanting to retrieve/store. I could not get it to get any garbage. One one instance, I opened a file that contained 5 records, opened the drive, then retireved 10 records. It did not access the drive, but had already buffered records into the buffer and displayed my 5 records, plus 5 more "empty" records. Can you duplicate this "garbage retireval"? If so let me know how you duplicated it and I can look further. Don Funk There is 1 Reply.