Loading File in Immediate Window in QB/QBX Invokes Edit Window (83236)






This article was previously published under Q83236

SYMPTOMS

Normally, if a file is loaded in the QBX.EXE environment and you try to use the File menu Load command to load the same file again, you will receive an error stating the file is already loaded, and the load will fail. However, if you happen to have the cursor in the Immediate window when you issue a Load command from the File menu, you will get the error message, but the file will be loaded into the Immediate window, and the Immediate window will change into an edit window (as if you had performed a Split from the View menu). At this point, you will not be able to recover the Immediate window.

You must exit QBX.EXE and restart the environment to recover the Immediate window.

STATUS

Microsoft has confirmed this to be a bug in the QB.EXE environment of Microsoft QuickBasic version 4.5 for MS-DOS and the QBX.EXE environment of Microsoft Basic Professional Development System (PDS) versions 7.0 and 7.1 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Start the QBX.EXE or QB.EXE environment.
  2. From the File menu, choose Open, and open a Basic program.
  3. Press F6 to move the cursor to the Immediate window.
  4. From the File menu, choose the Load command, and load the same program again.
  5. The error message "File already loaded" will occur. Press ENTER.
Notice that the Immediate window does not change into an edit window. You will need to restart the QBX.EXE or QB.EXE environment to recover the Immediate window.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB83236