Hey,
I'm writing a app and I need to close explorer.exe. How could I do this in Windows XP?
Printable View
Hey,
I'm writing a app and I need to close explorer.exe. How could I do this in Windows XP?
I vaguely recall that the basic way to do it is a) locate the PID from the process list and b) send the PID the kill command, although I'm sure there are lots of other ways.
Here's a sample that is included with the docs:
ms-help://MS.VSCC/MS.MSDNVS/vbref/html/vbsamwindowsformsprocesscontrollersample.htm
It has about everything you may want to know about process control (network and local). Hope it helps.