Tech Support > Microsoft Windows > Development Resources > terminating outlook 2000 process?
terminating outlook 2000 process?
Posted by Adam White on December 23rd, 2003



Is there a windows API that I can use to kill a process if I know only
the name of the process as it appears in the Windows 2000 Task
Manager?

Here's why I'm asking ...

I run Outlook 2000 on W2k. If I open Outlook, check my email, then
close Outlook ... guess what? Outlook leaves a process running
(visable using Task Manager) called OUTLOOK.EXE. This dude keeps
checking my email periodically. When I have new email, it downloads
it to my PC and gives me a nice little notification by way of an
envelope icon in the system tray.

This is all well and good for some people, but I'm doing some resource
intensive processing on my PC and cannot afford to have Outlook doing
"background processing" after I've (tried to) closed it.
Unfortunately, although microsoft gives one the option to disable this
"system tray icon / background email checking" in later versions,
there is no way to disable it in Outlook 2000.

So I'm just wondering ... how can I kill the Outlook.exe process
that's left behind? Frankly, I'm not much of a programmer any more
... but do have Delphi2 installed on my PC and I'm hoping to use it to
write a little program to take care of this problem.


Posted by Tim Robinson on December 23rd, 2003


Have you tried "Exit and Log Off" on the File menu, instead of "Exit"?

--
Tim Robinson (MVP, Windows SDK)
http://www.themobius.co.uk/

"Adam White" <adam.white@nospam.sbcglobal.net> wrote in message
news:3fe8659b.48065534@news.dallas.sbcglobal.net.. .


Posted by Adam White on December 31st, 2003



I don't have "exit and log off" ... only Exit. I'm running Outlook
2000 -- maybe the "and log off" option shows up in later versions?


On Tue, 23 Dec 2003 18:41:52 -0000, "Tim Robinson"
<tim.at.gaat.freeserve.co.uk@invalid.com> wrote:



Similar Posts