Disconnect Outlook COM Addin and ReConnect

  • Thread starter Thread starter Stefan Uhlemann
  • Start date Start date
S

Stefan Uhlemann

Hi,

I want to write an auto-updater for my Outlook COM Addin
The Problem is i must deactivate the Addin, write the dll and reconnect it
to outlook
(Of cause the auto-updater is a external process which updates the addin,
its not part of itself)
One solution is to quit outlook but its not very nice :(

Any ideas?

Stefan
 
Get your addin from the COMAddIns collection and toggle its Connect bit.
Once that is False the addin is disconnected. After the update get it again
and toggle Connect to True.
 
Back
Top