Microsoft KB Archive/43201

= RENaming a FAST LOAD/SAVE Basic Program Makes It Inaccessible =

Article ID: 43201

Article Last Modified on 11/21/2006



This article was previously published under Q43201



SUMMARY
If you save a QuickBasic Version 4.50 program in the FAST LOAD/SAVE format and then exit to DOS and rename the file, QuickBasic may not be able to recognize the new filename.

The environment will either bring up an empty view window with that filename under the OPEN file option or produce &quot;BAD FILE MODE&quot; when trying to load that file as a module through the LOAD file option.

Apparently, when saving a file with the FAST LOAD/SAVE format, QuickBasic retains the original name of the file; therefore, if you go to DOS and rename the file, QuickBasic will not recognize the file when trying to load it.

This error has not been reproduced yet, but it was reported by one person using QuickBasic Version 4.50. A workaround for this situation is to exit to DOS and rename the file back to the original name when saved under FAST LOAD/SAVE format, then enter into QuickBasic again, and OPEN the file. If you then want to change the name, select SAVE AS under the FILE menu and change the name and also save it as ASCII (Text), so that it can be read by other software.

Additional query words: QuickBas

Keywords: KB43201

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.