471,326 Members | 2,649 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,326 software developers and data experts.

When the application is started again

I am allready preventing a second instance of a application from
running using a Mutex. How can I signal the first application telling
it that the user wanted to start the application again so I can bring a
window to the front for example.

Jan 25 '06 #1
2 954
My article at http://www.dalepreston.com/Blog/2005...-run-once.html
demonstrates sending messages to the running instance and bringing the
instance to the front.
--
Dale Preston
MCAD C#
MCSE, MCDBA
"ch***************@gmail.com" wrote:
I am allready preventing a second instance of a application from
running using a Mutex. How can I signal the first application telling
it that the user wanted to start the application again so I can bring a
window to the front for example.

Jan 26 '06 #2
Windows Forms Tips and Tricks shows how to do this.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

<ch***************@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I am allready preventing a second instance of a application from
running using a Mutex. How can I signal the first application telling
it that the user wanted to start the application again so I can bring a
window to the front for example.

Jan 26 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Lenard Gunda | last post: by
4 posts views Thread by Christoph Wienands | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.