On Tue, 14 Oct 2003 08:48:33 -0400, nikolaosk
wrote in
microsoft.public.excel.programming:
hi there,
i have this problem. i have an application written in delphi that fires
up excel applications, so these applications get a PID from the
system.
what i need to do is to kill the excel applications by getting their
PID from task manager!!!!!!!!!!
how do i do that?
I don't know anything about Delphi's capabilities; there are a whole
bunch of Delphi related newsgroups, i.a. at borland.public.delphi...,
maybe they can provide a specific answer.
But as Delphi can obviously spawn other processes, you could probably use
TLIST and KILL from the NT Resource Kit, or pslist and pskill from the
PsTools set <http://www.sysinternals.com/ntw2k/freeware/pstools.shtml.
--
Michael Bednarek
http://mcmbednarek.tripod.com/ "POST NO BILLS"