Solved

C# show and focus to another application hidden in the taskbar

Posted on 2008-06-12
3
3,154 Views
Last Modified: 2013-12-04
What is the best way to have one C# application show and focus to another C# application hidden in the taskbar with a notifyIcon?  I would like to do this on startup, if the application is already running then focus to the first instance instead of loading the application again, also the first application was hidden using the controls Hide() method.  OS is Windows XP.
0
Comment
Question by:alexatsearidge
3 Comments
 
LVL 6

Accepted Solution

by:
MuhammadAdil earned 500 total points
ID: 21771637
You can get all currently running processes. If your application in these process. And you can set focus to another foreign process.

http://www.howtogeek.com/howto/programming/get-a-list-of-running-processes-in-c/
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23336243.html
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

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

13 Experts available now in Live!

Get 1:1 Help Now