how do I do it?
FatMan
Printable View
how do I do it?
FatMan
there is a function call GetAllProcessID in vbSystem of the activeX DLL at http://vblib.virtualave.net, the function return every single process in the system, together with valuable info, like the executable file name, process ID, etc.
you can then search tru the array to find the process that u want to kill. after getting process, just pass it the process ID to TerminateProcess API
HTH
Have a look at answers at:
http://codeguru.earthweb.com/cgi-bin...&sb=&category=
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.