Solved

What apps are running and what files are open?

Posted on 2008-06-18
4
155 Views
Last Modified: 2013-11-26
Using Visual Studio 2005 and C#, how can I programatically tell which apps are running and what files are open?
0
Comment
Question by:stavin
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
SStory earned 500 total points
ID: 21821772
A good start would be either of these two that return a collection of Processes:
        System.Diagnostics.Process.GetProcesses()
        System.Diagnostics.Process.GetProcessesByName()
0
 
LVL 25

Expert Comment

by:SStory
ID: 22278596
My answer tells what processes are present. If you wanted to know if WinWord.exe were loaded in RAM, It could be ascertained by the information in the GetProcesses call.

The asker did not clarify any more. I think I should at least get some points for my answer.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
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…

758 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

16 Experts available now in Live!

Get 1:1 Help Now