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

ID: Q101381

3.00 WINDOWS

 kbbuglist

The information in this article applies to:

- Standard and Professional Editions of Microsoft Visual Basic

  programming system 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 reference words: buglist3.00 3.00 fixlist4.00 KBCategory: kbbuglist KBSubcategory: EnvtDes

Keywords          : kbenv EnvtDes kbbuglist
Version           : 3.00
Platform          : WINDOWS
Solution Type     : kbfix

Last Reviewed: May 14, 1998