Solved

Selecting a running application (window) in c#

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

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
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.

895 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