PDA

Click to See Complete Forum and Search --> : Killing Hidden Processes


rankman
Jan 31st, 2001, 12:08 PM
Hello! :)

I would be extremely greatful if anyone could tell me of an API call which would let me kill a process which does not have a titlebar (a hidden process), since the only methods of killing processes in VB I have come across all require a window title. Also, I would not know the programs PID, only it's name, so a function such as:

KillProcess(ProcessName.exe)

which would include PID -> appname conversion would be useful :) (if it's needed at all! :)

Thanks in advance! :)

- James

rankman
Jan 31st, 2001, 12:32 PM
by the way, I would not necessarily have the path of the app in question, so something like

call KillProcess(c:\winamp\winamp.exe) is no good.

i need to kill it from the name alone, if it's possible :((