Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting Windows handle - for terminating an app

Status
Not open for further replies.

jbecher

Programmer
Sep 13, 1999
25
US
I'm trying to get the process handle of an application that will be running concurrently with the VB app.&nbsp;&nbsp;I want to use the TerminateProcess API call to kill a program but first need the handle of that program's process.&nbsp;&nbsp;I will only know the executable filename.&nbsp;&nbsp;Does anybody know how to get the&nbsp;&nbsp;Windows handle?<br><br>Basically I want this application to function like the Windows NT Task Manager - where you can select process name (exe filename) and End Process.
 
There are or Were at one time, something in the Knowledge Base on handles and API.<br>Also the was a sample program that you could run and put the mouse over any other application and it would tell you the handle of it and other information too.<br><br> <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top