View Single Post
  #5  
Old January 26th 07, 07:38 PM posted to microsoft.public.outlook.program_addins
Sanjay
external usenet poster
 
Posts: 21
Default Outlook 2003 VSTO framework conflicts with other apps using MAPI

Ken,
Thanks for your response..

I am assuming you are talking about using the ID2Extensibility
interface.. Can you please send me the workaround for that? I may have
to change the code to use the shard addin's instead of vsto..

Sanjay

On Jan 26, 2:15 pm, "Ken Slovak - [MVP - Outlook]"
wrote:
VSTO uses the StartupComplete event to fire its startup event. If other code
is holding Outlook open you won't get a new StartupComplete event and
therefore the VSTO addin won't start up again.

There are workarounds that can be used from VB.NET or C# shared addins but
none that I know of for VSTO addins.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm

"Sanjay" wrote in ooglegroups.com...



Dmitry,
Thanks for your quick response...


It seems the application_startup event is not fired when the first
app is launched. This app establishes a mapi session and reads email
from the default profile. Then when user launches Outlook, the
Application_startup event in the VSTO plugin is fired. Then when the
user closes outlook, Application_Shutdown event is fired. Then when
the user restarts it, the application_startup event is ignored.


I am using VS2005 + VSTO + C# + Outlook 2003 SP2 (11.8030.8107).


Is there a way around this issue?


Sanjay- Hide quoted text -- Show quoted text -


Ads