Disabling an Addin

Add-in Express™ Support Service
That's what is more important than anything else

Disabling an Addin
Thomas Grossen



Is there a way with the VCL version to disable, or "shutdown" an addin? For example when license conditions are expired, etc...

With .Net I used a global variable and checked it on each event.

If this is not possible, how can I instead disable the option page (Outlook Option Page)?

Thank you.
Posted 30 Nov, 2006 15:05:23 Top
Dmitry Kostochko

Add-in Express team

Posts: 2875
Joined: 2004-04-05
Hi Thomas,

You can use the same approach that you used in the NET version. I.e. in the OnAddInInitialize event you check your conditions (license is expired) and set a global variable that you further check in all event handlers. As to option page, you may not add it either if a global variable is set.

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.

Posted 01 Dec, 2006 06:06:46 Top
Thomas Grossen


Thank you Dmitry.
Posted 04 Dec, 2006 10:44:48 Top