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: (0)

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 12 + 1 = ? followed by the letter: J 



About Me
More Blogs
Main Site
Posts: (All)
2020 ( 3 )
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 ( 16 )
2014 ( 25 )
2013 ( 4 )
2012 ( 10 )
2011 ( 7 )
2010 ( 11 )
2009 ( 3 )