Is there a way that I can access the Task Manager via code? What I want to do is kill a process within VB
. I have a form that calls to an .exe file and if I hit cancel right away, the process kills itself, but if I do something in the .exe file and then hit cancel, it doesn't kill the process. Any help is greatly appreciated.