View Single Post
  #3  
Old February 13th 07, 01:59 PM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default Is Outlook already runnig

Thanks 4 replay,

I perform cleaning when need, and also when OL is shutting down, but
sometime on AddIn up there is excpetion that influence on AddIn
behave, and then user close and reopen the Outlook. I develop in
vs-2005 c#, vsto 2005, there is event 'Shutdown' that fires when
Outlook is closing, but for some reason it's not always fires.


Any suggestions???

TNX,.


On Feb 13, 2:31 pm, "Michael Bauer [MVP - Outlook]"
wrote:
Your Addin gets loaded by Outlook, that is Outlook then runs, of course. You
should check your code why Outlook doesn't terminate. You must explicitly
set your references on Outlook to Nothing and unload forms (if there're
any).

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German:http://www.VBOffice.net/product.html?pub=6)

Am 13 Feb 2007 03:52:17 -0800 schrieb j:



Hi,


I developed AddIn for Outlook 2003, sometime it's behave strange and
there is no other alternative then to
restart Outlook, however in Task Manager there are 2 instances of
Outlook, it means that Outlook not ended successfully.


My question is, how and what is a best way to check if Outlook
already runnig when my AddIn is up.


TNX,.- Hide quoted text -


- Show quoted text -



Ads