How add-in can unload itself?

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!
 
K

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top