Solved

Process Running Check

Posted on 2008-06-24
2
542 Views
Last Modified: 2012-05-05
Hello, how can i check to see if a process is currently running on my localsystem?  I suppose I have to use GetProcessById().  A code example would be great!  Thanks!
0
Comment
Question by:grogo21
2 Comments
 
LVL 18

Accepted Solution

by:
philipjonathan earned 150 total points
Comment Utility
Probably you could search by the process' name:
Process[] processes = Process.GetProcessesByName("whatever.exe");

Open in new window

0
 
LVL 85

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 150 total points
Comment Utility
* omit the ".exe" part though...just use the executable name, WITHOUT the path and WITHOUT the ".exe".
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now