|
-
Apr 27th, 2005, 12:32 PM
#1
Thread Starter
New Member
How do I terminate a process in VB
I have Googled and Yahooed this Question for Over a week now with NO LUCK. My question is this....
I've already figured out how, by using API's Start a Exe file then once it's started I can Terminate it, that much I understand.
What I can't find anywhere in any forum or on google, is How can terminate an already existing executable.
Let's say a program is started from the run when I boot up my computer. It's a simple program that we'll call putty.exe.
How do I write a VB 6 App that can find My putty.exe program that's already running and terminate it.
Like I said earlier, I have learned how to Start a Program, then grab the info about the program I need to Terminate it, then Use those values to terminate it...but terminating a program that is already running when the computer is booted up I can not Figure out...
Kinda like I need to find the running processes, ya know when you hit "ctrl, alt + del" the task manager displays then list of running apps, I want to find one of those apps and terminate it.
Anyone know how to do this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|