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!

vb can i check if a specific program is running?

Status
Not open for further replies.

mikey613

Programmer
Mar 29, 2000
1
US
can i check if a specific file is running?
 
You can find out anything you want to know with the following API functions: GetCurrentProcessId(), FindWindow(), GetWindow(), GetWindowText (), EnumWindows(), EnumCallback(), CreateToolhelpSnapshot(), ProcessFirst(), and ProcessNext()<br><br>Edderic posted an excellent example of CreateToolhelpSnapshot on Feb 6 in the &quot;Unauthorized Applications&quot; thread (posted 2/3/2000). It's worth a look. It can return the MSDOS file name of executed EXEs and DLLs. If you need to return window captions you should use GetWindowText ().<br><br>Hope this helps.<br> <p> <br><a href=mailto: > </a><br><a href= temporary Vorpalcom home page</a><br>Send me suggestions or comments on my current software project.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top