L
Lars Roland
Hi I have implemented an addin that adds an extra commandbar to outlook
(much the same way as ItemsCB from microeye). My problems is with cleaning
up the user interface if the user unregisters my dll.
If the user removes the commandbar from within outlook (by browsing to the
list of COM addins) then my commandbar will remove it self (using the
unDisconnection method). If the user instead, just closes outlook and then
unregisters the dll, using regsvr32 (or an installer) then the commandbar
will still be there (the butons on it will ofcause not work).
So to sum it up: How do i make sure that the commandbar is removed from
outlook every time it closes down - such that the user can safely
unregister the dll from outside outlook. My problem can be recreated by
instaling ItemsCB, start outlook, closes outlook and then unregister the
ItemsCB dll - then the ItemsCB commandbar will wtill be in outlook but it
will not work.
Regards.
(much the same way as ItemsCB from microeye). My problems is with cleaning
up the user interface if the user unregisters my dll.
If the user removes the commandbar from within outlook (by browsing to the
list of COM addins) then my commandbar will remove it self (using the
unDisconnection method). If the user instead, just closes outlook and then
unregisters the dll, using regsvr32 (or an installer) then the commandbar
will still be there (the butons on it will ofcause not work).
So to sum it up: How do i make sure that the commandbar is removed from
outlook every time it closes down - such that the user can safely
unregister the dll from outside outlook. My problem can be recreated by
instaling ItemsCB, start outlook, closes outlook and then unregister the
ItemsCB dll - then the ItemsCB commandbar will wtill be in outlook but it
will not work.
Regards.