B
Bob Eaton
My COM Add-in adds a CommandBarButton to the "Edit" menu in Word. In the
call to CommandBar.Controls.Add, I pass the value "true" for the 'temporary'
parameter (I had hoped) so that the menu added would automatically remove
itself when Word exits. For some reason, that is not happening. Even if I
uninstall the add-in, the menu item
is still around.
I've even tried to explicitly call <CommandBarButton>.Delete during
Connect::OnBeginShutdown (or IDTExtensibility2.OnDisconnection), but that
doesn't seem to work either.
Any ideas?
Thanks,
Bob
call to CommandBar.Controls.Add, I pass the value "true" for the 'temporary'
parameter (I had hoped) so that the menu added would automatically remove
itself when Word exits. For some reason, that is not happening. Even if I
uninstall the add-in, the menu item
is still around.
I've even tried to explicitly call <CommandBarButton>.Delete during
Connect::OnBeginShutdown (or IDTExtensibility2.OnDisconnection), but that
doesn't seem to work either.
Any ideas?
Thanks,
Bob