Solved

What apps are running and what files are open?

Posted on 2008-06-18
4
156 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 …
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

867 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

18 Experts available now in Live!

Get 1:1 Help Now