Article ID: 169385 - Last Review: December 10, 2003 - Revision: 2.0

PRB: Screen Turns Black While Making .exe

This article was previously published under Q169385

On This Page

Expand all | Collapse all

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.

APPLIES TO
  • Microsoft Visual Basic 5.0 Control Creation Edition
  • Microsoft Visual Basic 5.0 Learning Edition
  • Microsoft Visual Basic 5.0 Professional Edition
  • Microsoft Visual Basic 5.0 Enterprise Edition
Keywords: 
kbprb KB169385
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations