Detect if an application is running AND kill its processes
Hello
I think Serge DYMKOV'S function is a good work !
I want to detect if an application is running (thanks to his function) and if it's true, to close it (kill all its processes) ! But I don't know how to do this.
For example :
I don't want an execution of an Internet Browser software. So I want to detect if, for example, Internet Explorer (thanks to its path and file names "C:\Program Files\Internet Explorer\iexplore.exe") is running. If it is true, the function must close the application (kill all IE processes).
Thank you very much in advance for your answer.
PS : I've got VB 5 Professionnal.