Check your license information and if it fails then call to whatever code
you have running when you get the Shutdown() event. You might have to hack
the registry also to remove any form region information.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"shubhangi" wrote in message
...
hello
I want to disable my addin if certain condition is not met(licence
etc.).How to do this programmatically?I'm using VSTO SE for Outlook
2007.Besides this I don't want to show
form regions if that condition is not met.If the condition is met then
only my addin is required to
enable & form regions to be shown.Can this be done programmatically?
thanks