RENaming a FAST LOAD/SAVE Basic Program Makes It Inaccessible (43201)
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 "BAD FILE MODE" 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.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB43201 |
|