Solved

Selecting a running application (window) in c#

Posted on 2011-03-10
2
340 Views
Last Modified: 2013-12-17

Hi there,

Looking for a C# code snip that will display all the currently running Windows (applications) and be able to select a specific window. I have used Winbatch in the past (WinItemNameId) to grab all the valid running windows in the windows XP sessions.  But looking for a c# solution.

Let's say for example, Microsoft Word is running on windows, i want to be able to determine what the word window is called, select it, and then manipulate the application.

Thanks
Greg.
0
Comment
Question by:gcastong
2 Comments
 
LVL 13

Accepted Solution

by:
Rick earned 500 total points
ID: 35096721
0
 

Author Closing Comment

by:gcastong
ID: 35112311
Thanks, this helped.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

860 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