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

Last reviewed: October 30, 1997
Article ID: Q74193
1.00 WINDOWS kbenv kbbuglist

The information in this article applies to:

- Microsoft Visual Basic programming system for Windows, version 1.0

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.


Additional reference words: fixlist2.00 fixlist3.00 1.00 2.00 3.00
KBCategory: kbenv kbbuglist
KBSubcategory: EnvtDes
Solution Type : kbfix


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: October 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.