Solved

Selecting a running application (window) in c#

Posted on 2011-03-10
2
339 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
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 synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

773 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