Microsoft KB Archive/74193

= FIX: UAE/GPF Changing MS-DOS Win Display If VB at Breakpoint =

Article ID: 74193

Article Last Modified on 1/9/2003

-

APPLIES TO


 * Microsoft Visual Basic 1.0 Standard Edition

-



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 &quot;X = 5&quot;.
 * 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.

Additional query words: fixlist2.00 fixlist3.00 2.00 3.00

Keywords: kbbug kbfix KB74193

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.