Re: "Empty the Deleted Items folder upen exiting" not run when installed my Outlook Addin

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It sounds like you're not correctly tracking and disposing of your objects or wrappers. Are you getting OnDisconnection and BeforeShutdown? Is Outlook still hanging in memory? If so you're not releasing everything.

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


"Sven Ziehe" <sziasp@xxxxxxxxxxxxxxxxx> wrote in message news:%23MgBYOqnHHA.4516@xxxxxxxxxxxxxxxxxxxxxxx
Hello Ken,

thanks for your answer,

the Design of the Addin is follow.
The VSTO Addin loads over reflection any "Features" from separate Assemblys with a implemented Interface.
Creates a Instance of this Class, load UI and store it in a Collection of BaseClass.
If a new Explorer event is fired, the loaded Features creates a Tracker and store it in a Collection.
is the Explorer Close Event is fired, the Tracker raises a Event to Remove himself from the Collection.
The Explorer is Released with system.Runtime.InteropServices.Marshal.ReleaseComObject.

I hope you can understund me.

Thanks,

Sven

.



Relevant Pages

  • Re: add/remove store at runtime
    ... No new Explorer is necessary. ... Outlook starts and sink its Close event to handle your removal of the extra ... "Muechel" wrote in message ... > is that i also want to remove the store if outlook will be closed. ...
    (microsoft.public.outlook.program_vba)
  • Re: add/remove store at runtime
    ... becouse of i don't want to open a ... new explorer. ... i want to add a store from a network drive. ... to remove the store if outlook will be closed. ...
    (microsoft.public.outlook.program_vba)
  • Re: The specified default store could not be opened.
    ... information store and it resolved the issue for me. ... tried all the same solutions, deleting a profile and readding the profile, ... Susan Conkey [MVP] ... Unable to open the Outlook Window. ...
    (microsoft.public.exchange.admin)
  • Office 2010
    ... Outlook locks up with a officelifeboathang ... This is a corporate install of OFFIce that was just cleanly redone. ... The store C:\Documents and Settings\rhs\Local Settings\Application ... Data\Microsoft\Outlook\SharePoint Lists.pst has detected a catalog checkpoint. ...
    (microsoft.public.outlook.general)
  • Re: The specified default store could not be opened.
    ... They can also access OWA no problem, ... tried all the same solutions, deleting a profile and readding the profile, ... not be opened please make sure you can access your default data store". ... Unable to open the Outlook Window. ...
    (microsoft.public.exchange.admin)