Hi, everyeone,
I need a way of automating the removal of a Virus Scan add-in in my own
application. That is, I want to write an application that either removes or
disables Virus Scan in Outlook. However, the details of add-in registration
and remove are abstracted in the Visual Studio "Shared Add-in" template, so
I cannot find documentation on how to do this.
Can anyone offer any suggestions?
Thanks,
Scott

Signature
Remove .nospam from my e-mail address to mail me.
http://www.e-scott.net
Ken Slovak - [MVP - Outlook] - 24 Nov 2004 21:58 GMT
You could read the registry at HKCU\Software\Microsoft\Office\Outlook\Addins
and set LoadBehavior to 2 if the addin isn't already running. If it is the
only way I know of is to iterate the COMAddins collection and find the addin
you want and set its Connect bit to False.

Signature
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
> Hi, everyeone,
>
[quoted text clipped - 8 lines]
> Thanks,
> Scott