Solved

What apps are running and what files are open?

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Call Controller Action Method from ASPX 2 22
Syntax Issue with SSIS module 26 103
Finding Events logs for IIS website that restarts 2 14
Get month and date in a format 4 31
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…

856 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