View Single Post
  #2  
Old July 2nd 07, 01:34 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Programmatically enable Add-ins

If the addin has been disabled by Outlook there isn't any other way.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"balaji chandan" wrote in message
...
I would like to know how to enable Add-ins programmatically when Outlook
crashes for some reason.I tried two ways of doing it, but invain.

I tried a way by deleting the registry entries under
HKCU\Software\Microsoft\Office\11.0\Resiliency, but this requires to
restart
the Outlook for addin to be enabled manually.

Other way is I tried to handle the issue in
IDTExtensibility::OnBeginShutdown() method, but when Outlook crashes the
control does not come here.So i cannot handle it here.
Are there any other ways to handle this issue ?

Thanks
Balaji


Ads