PRB: Screen Turns Black While Making EXE

Last reviewed: June 2, 1997
Article ID: Q169385
The information in this article applies to:
  • Microsoft Visual Basic Control Creation, Learning, Professional, and Enterprise Editions for Windows, version 5.0

SYMPTOMS

When you try to create an executable (.EXE) with Visual Basic, the entire display turns black. You see the same behavior whether you compile to Native Code or P-Code. This problem only occurs on Windows NT.

CAUSE

The Console Windows Display (DOS Window) is set to "Full Screen."

RESOLUTION

To work around this problem, you need to change the Console Windows Display to "Window" instead of "Full Screen."

Step-by-Step Example

  1. Go to Control Panel and double-click on the Console icon.

  2. From the Console Windows Properties Dialog, select the Options tab.

  3. Select "Window" under Display Options.

  4. Return to the Visual Basic IDE.

  5. Make an executable. The screen should not turn black.

STATUS

Microsoft is researching this problem and will post more information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Go to Control Panel and double-click on the Console icon.

  2. From the Console Windows Properties Dialog select, the Options tab.

  3. Select "Full Screen" under Display Options.

  4. Start a new Standard EXE in Visual Basic.

  5. Select "Make Project1.exe" under the File menu. The entire display turns black. However, after the executable is made, it will return to normal.


Additional query words: blank
Keywords : kbdisplay vb5all VBKBDesignTime VBKBEnv kbprb
Version : 5.0
Platform : WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.