A
.:alex:.
Hello,
In OnConnection Event I create a menu of this type:
Private WithEvents oMenuItem As Office.CommandBarButton
But I have a problem, I cannot delete the menu when I close Outlook, so
every time when I open Outlook, a new submenu with the same name is added.
I tryed to remove with this command: oMenuItem.Delete
in OnBeginShutdown and OnDisconnection Events, but nothing, I got some
errors.
Can somebody tell me the good way to delete the submenu?
Thank in advance,
Alex
In OnConnection Event I create a menu of this type:
Private WithEvents oMenuItem As Office.CommandBarButton
But I have a problem, I cannot delete the menu when I close Outlook, so
every time when I open Outlook, a new submenu with the same name is added.
I tryed to remove with this command: oMenuItem.Delete
in OnBeginShutdown and OnDisconnection Events, but nothing, I got some
errors.
Can somebody tell me the good way to delete the submenu?
Thank in advance,
Alex