How add-in can unload itself?

  • Thread starter Thread starter Smok
  • Start date Start date
S

Smok

So, is there anyway for add-in to unload itself? Asking saved Outlook COM
object to set "Connect" to FALSE seems bad solution to me, because I don't
quite understand what will happen.
Any thoughts?
Thanks!
 
What would be requesting the addin to unload, other code somewhere else? If
that's true set Connect to false and the addin's OnDisconnection event will
fire. From inside the addin just release all Outlook and addin objects.
 
Back
Top