Disable Addin runtime

  • Thread starter Thread starter Giuseppe
  • Start date Start date
G

Giuseppe

Hi,
I need to disable my addin if the a server is not available.
in which event I have to do it ?

Thank you.
Giuseppe
 
Why do you need to disable the add-in on the Outlook level? Who will enable
your add-in when the server becomes available?
Why simply do nothing instead of disabling the add-in?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Why do you need to disable the add-in on the Outlook level? Who will enable
your add-in when the server becomes available?
Why simply do nothing instead of disabling the add-in?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool







- Show quoted text -


You unload the AddIn at all (you will need restart the Outlook in
order to laod the AddIn again).

1. Clean all resoures, delete GUI objects like menu, buttons .........
2. AppDomain.Unload(AppDomain.CurrentDomain);


that's all.
 
Hi,
I need to disable my addin if the a server is not available.
in which event I have to do it ?

Thank you.
Giuseppe

You can unload the AddIn at all (you will need restart the Outlook in
order to laod the AddIn again).

1. Clean all resoures, delete GUI objects like menu,
buttons .........
2. AppDomain.Unload(AppDomain.CurrentDomain);


that's all.
 
Back
Top