Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-06-12
3
Medium Priority
?
3,293 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
[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
3 Comments
 
LVL 6

Accepted Solution

by:
MuhammadAdil earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

636 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