Article ID: 257516
Article Last Modified on 8/7/2007
APPLIES TO
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q257516
SYMPTOMS
When you are working with the Toolbar control and you remove one of the buttons using the Customize dialog box, if you try to add the button back, it is not available and cannot be restored.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0.
For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:
194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed
To download the latest Visual Studio service pack, visit the following Microsoft Web site:
MORE INFORMATION
Steps to Reproduce Behavior
- Open a new Standard EXE project in Visual Basic. Form1 is created by default.
- On the Project menu, select Components, check Microsoft Windows Common Controls 6.0, and then click OK.
- Add a Toolbar control to Form1.
- Right-click the Toolbar control, select Properties, and then select the Buttons tab. Add four buttons.
- Add a caption for each button.
- Run the project.
- Display the Customize dialog box by double-clicking the toolbar.
- Click on the last button in the right-side window.
- Click on Remove.
- Close the Customize dialog box.
- Double-click the toolbar to redisplay the Customize dialog box. Note that the button is no longer available and cannot be added back to the toolbar.
REFERENCES
For additional information on using the ToolBar control, click the article number below to view the article in the Microsoft Knowledge Base:
161257 HOWTO: Add a Toolbar to a Visual Basic Project
Additional query words: sp4
Keywords: kbbug kbcmnctrls kbfix kbtoolbar kbvs600sp4fix kbvs600sp5fix KB257516