Solved

Selecting a running application (window) in c#

Posted on 2011-03-10
2
343 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Containers and Docker for Everyone

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

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…
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 and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

688 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