A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How add-in can unload itself?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 25th 08, 07:36 PM posted to microsoft.public.outlook.program_addins
Smok
external usenet poster
 
Posts: 1
Default How add-in can unload itself?

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!
Ads
  #2  
Old September 25th 08, 09:24 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How add-in can unload itself?

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Smok" wrote in message
...
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!


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IDTExtensibility2 based addin Will Not Unload if System.Timer Used Philip Enny Add-ins for Outlook 3 April 3rd 08 06:57 PM
Can't unload/remove bad com add-in kneel Outlook and VBA 2 February 13th 08 04:03 PM
Item Unload Event Doesn't Fire Tim Pulley Add-ins for Outlook 3 May 16th 07 04:42 PM
Outlook 2007 won't unload Ned Buckmaster Outlook - General Queries 1 February 28th 07 06:54 PM
unload COM addin problem David Cebrian Add-ins for Outlook 3 February 9th 06 10:26 AM


All times are GMT +1. The time now is 08:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.