Microsoft KB Archive/38960

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:55, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


QuickBasic 4.50 Editor Aborts Exit if Key Pressed During Save

Article ID: 38960

Article Last Modified on 11/21/2006



APPLIES TO

  • Microsoft QuickBasic 4.5 for MS-DOS, when used with:
    • Microsoft MS-DOS 6.22 Standard Edition



This article was previously published under Q38960

SYMPTOMS

If a key is pressed while the QuickBasic Version 4.50 editor is saving before an Exit, when the file is completely saved, QuickBasic will run the program rather than exit to DOS.

This information applies to Microsoft QuickBasic Version 4.50 for MS-DOS. This problem does not occur in QuickBasic Extended (QBX) shipped with Microsoft Basic Profession Development System (PDS) Version 7.00 (fixlist7.00).

MORE INFORMATION

If any file is in memory and has not been saved since last edit, and you select "Exit" from the File menu, QuickBasic will ask if you wish to save the file before exiting. If you choose Yes, the file will be saved before QuickBasic returns to DOS. However, if you choose to save the file, and then press any key before the save is finished, QuickBasic will finish saving the file, but rather than exit to DOS, it will alter the program according to the key pressed, and attempt to RUN the program. If the key pressed makes a change to the source such that the program will not compile, an appropriate error message displays.

You can work around this problem by allowing QuickBasic to complete the process of saving the file before pressing a key.


Additional query words: QuickBas buglist4.50 SR# S881121-15

Keywords: KB38960