Outlook 2003 VSTO framework conflicts with other apps using MAPI
Hello guys..
I have an issue with one of the apps that connects to Outlook to
retrieve calendar information. It is a windows app that displays
calendar and recent mail items. Here is the sample code
using Microsoft.Office.Interop.Outlook;
public class OutlookSource
{
private Application outlookApp;
private NameSpace outlookNS;
public void OutlookSource
{
outlookApp = new Application();
outlookNS = outlookApp.GetNamespace("MAPI");
//do some work here
}
}
What above code does is that it launches outlook in the background.
When users actually launch outlook, the ThisApplication_Startup event
does not get fired. None of the plugins get activated.
Is there a workaround for this?
Sanjay
|