Click to See Complete Forum and Search --> : Find and Kill process


Lev FatMan
June 18th, 2001, 03:58 AM
how do I do it?

FatMan

cksiow
June 18th, 2001, 04:09 AM
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

Cimperiali
June 18th, 2001, 04:14 AM
Have a look at answers at:
http://codeguru.earthweb.com/cgi-bin/bbs/wt/showpost.pl?Board=vb&Number=53170&page=&view=&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.