Multiple Instance of outlook and Addin

N

Neetu

Hello all,
we are using VSTO 3.0 and VB.net to create an addin for outlook2007
we are creating menu next to help popupbutton.

if in a machine if there is just one instance of outlook, our menuitem is
creates properly however if multiple instance of outlook is there then only
most oldest one gets our addin.
on debugging, startup of thisaddin is not firing at all.

Kindly help us
 
K

Ken Slovak - [MVP - Outlook]

There can only be one working instance of Outlook at a time. If there is
more than one instance the others are hung or non-functional. To create that
situation you have to not be releasing all of your COM objects in your code
(or some other Outlook integration code isn't releasing objects), therefore
not allowing Outlook to shut down correctly.
 
D

Dmitry Streblechenko

He probably means multiple instances of the Outlook Explorer - what looks
like a new instance of Outlook is really a new Explorer. There will still be
a single instance of outlook.exe and the add-in running.
You need to handle the Application.Explorers.NewExplorer event.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 

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