VB6 Addin Missing Menus


Author: Dave
Date: 04.13.18 - 3:11am



Here is an annoying I just finally figured out today.

If you use VB6 IDE addins sometimes you will notice that various menu items start disappearing. If this happens you have to right click on the icon tool bar and choose customize/reset.

So apparently..if you add a button to toolbar or add a menu item, you must explicitly make sure to delete it on addin disconnect.

If you dont, VB will just randomly delete some other button or menu item and then save the setting in the registry for the next time you start it up as a secret little present.

If anything in your disconnect code throws an error, this can show up sporadically. You have to have error handling and tests everywhere because the VB6 IDE addin model can throw random errors often on startup or disconnect. Its somewhat annoying and doesnt seem perfectly stable but hey its what we have and its actually pretty good especially given the age.




Comments: (1)

On 08.08.23 - 9:38am Luc Spoelders wrote:
I make the IDE looks like I want. Then make a .reg file ans start VB6 IDE with a helper exe where I first do the following Shell RegEdit.exe /S CProgram Files (x86)Microsoft Visual StudioVB98VB6 IDE UI Fix.reg VB6 IDE UI Fix.reg [HKEY_CURRENT_USERSOFTWAREMicrosoftVisual Basic6.0] UIhex59,00,00,.........

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 77 + 62 = ? followed by the letter: G 



About Me
More Blogs
Main Site
Posts: (All)
2024 ( 1 )
2023 ( 9 )
2022 ( 4 )
2021 ( 2 )
2020 ( 4 )
2019 ( 5 )
2018 (6)
     VB6 UDTs
     VB6 Debugger View As Hex tooltips
     VB6 - C Share registry data
     VB6 Addin Missing Menus
     VB6 Class Init Params
     VB6 isIn function
2017 (6)
     Python and VB6
     Python pros and cons
     download web Dir
     vc rand in python
     VB6 Language Enhancement
     Register .NET as COM
2016 ( 22 )
2015 ( 15 )
2014 ( 25 )
2013 ( 4 )
2012 ( 10 )
2011 ( 7 )
2010 ( 11 )
2009 ( 3 )