FIX: GP Fault When Opening Menu Design Window in VB.EXE

ID: Q101381


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for Windows, version 3.0


SYMPTOMS

At times, you may receive a general protection (GP) fault when opening the Menu Design window in Visual Basic for Windows. This can result in the loss of all current additions and changes you made to your project since you last saved it.


CAUSE

This is caused by a bug in the VB.EXE environment where a pointer is referenced after being invalidated. In this case, it happens when you assign text to a Tag property for one of the menu items already on the form and you do not save your form immediately prior to opening the Menu Design Window.


WORKAROUND

To avoid this occasional GP fault, either do not set the Tag property of a menu item at design time or always save your work before opening the Menu Design Window.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem has been corrected in Visual Basic version 4.0.

Additional query words: buglist3.00 3.00 fixlist4.00

Keywords : kbenv EnvtDes
Version : WINDOWS:3.0
Platform : WINDOWS
Issue type :


Last Reviewed: January 20, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.