FIX: UAE/GPF Changing MS-DOS Win Display If VB at Breakpoint (74193)



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition for Windows 1.0

This article was previously published under Q74193

SYMPTOMS

When using some Windows display drivers, the following steps may cause Microsoft Visual Basic to abort with an Unrecoverable Application Error (UAE) in Windows version 3.0 or a general protection (GP) fault in Windows version 3.1:

  1. Start Microsoft Visual Basic.
  2. Add a line of code to the Form_Click event procedure, such as "X = 5".
  3. Set a break point on the line added in step 2.
  4. Start a simultaneous MS-DOS session in Windows.
  5. Run the Visual Basic program (F5); click the form to stop at the break point.
  6. Activate (double-click) the MS-DOS window.
  7. Press ALT+ENTER to change the MS-DOS window to a full screen window.
Pressing ALT+ENTER to change the MS-DOS window to a full screen MS-DOS session may result in a UAE or GP fault.

STATUS

This behavior is a result of problems with certain Windows display drivers, and not a problem with Visual Basic. This problem does not occur in Visual Basic version 2.0 or 3.0 for Windows.

Modification Type:MinorLast Reviewed:1/9/2003
Keywords:kbbug KB74193