[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

determine if a program is running

Posted on 2004-11-22
5
Medium Priority
?
239 Views
Last Modified: 2010-04-17
I would like to have a working example of how determine if a program is running
0
Comment
Question by:BHoward
3 Comments
 

Expert Comment

by:kledbetter
ID: 12651237
What operating system?  What programming language?
0
 

Author Comment

by:BHoward
ID: 12651274
windows XP
vb6
0
 
LVL 3

Accepted Solution

by:
Santino_k earned 1000 total points
ID: 12651736
Check out following API on MSDN -
EnumProcesses(...)
Sample for enumerating processes is also available on that page

If your Appliction is windowed Application you can also use - EnumWindows(...) API

Look for details of these API's in MSDN. You can also find some code/samples on www.codeguru.com and www.codeproject.com

Hope this helps
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Progress
Starting up a Project

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question