A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Multiple OUTLOOK.EXE processes running in Task Manager



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 9th 06, 07:10 PM posted to microsoft.public.outlook.program_vba
Jeff
external usenet poster
 
Posts: 41
Default Multiple OUTLOOK.EXE processes running in Task Manager

Are there any known ways to break Outlook COM such that 1 OUTLOOK.EXE
process will be running as a result of Outlook COM calls? I don't have
a few lines of code that can do this, but it seems to happen after a
Outlook COM call returns an error. After that, a new OUTLOOK.EXE will
appear. Once you have 1 OUTLOOK.EXE's running, the COM API becomes
somewhat unstable.

Jeff

Ads
  #2  
Old November 9th 06, 07:34 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Multiple OUTLOOK.EXE processes running in Task Manager

Not handling all errors in a COM addin is an excellent way to leave Outlook
hanging. Since Outlook never closed properly any attempts to open a new
instance of Outlook will not be stable, and may even completely fail to
open.

Not releasing all your COM objects is another excellent way to prevent
Outlook from closing, and to prevent OnDisconnection from ever firing.

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


"Jeff" wrote in message
ups.com...
Are there any known ways to break Outlook COM such that 1 OUTLOOK.EXE
process will be running as a result of Outlook COM calls? I don't have
a few lines of code that can do this, but it seems to happen after a
Outlook COM call returns an error. After that, a new OUTLOOK.EXE will
appear. Once you have 1 OUTLOOK.EXE's running, the COM API becomes
somewhat unstable.

Jeff


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Task Still Running Dan Outlook and VBA 5 October 21st 06 01:37 AM
Outlook still in the Task Manager runrbikr Outlook - General Queries 1 October 19th 06 03:36 PM
Multiple outlook.exe instances in my Task Manager John in SoCal Outlook - General Queries 1 October 17th 06 10:06 AM
running regsvr32.exe vbscript.dll does not help me open outlook Mossy and Madam Outlook - Installation 3 May 11th 06 07:09 PM
Help! Problem running pst19upg.exe via SMS [email protected] Outlook - General Queries 2 March 9th 06 07:45 PM


All times are GMT +1. The time now is 05:07 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.