Single Instance Of App - Please Help!

  • Thread starter ASP .NET Newbie
  • Start date
A

ASP .NET Newbie

Hey everyone,

I have an application that I am developing (well, that's obvious!). The
application minimizes to the system tray when it is minimized. I have a
function called Show_Click() that is part of the context menu of the tray
icon. Here's the dilemma I face. I only want to allow 1 instance of the
program (I've already done that), and have the "original" process show back
up on the screen. The problem is, if it is already on the screen (i.e. not
minimized to the system tray), it works perfectly. However, if it IS
minimized to the system tray, how can I call the "Show_Click()" function?

Thanks for any and all help!

Chad Beckner
 
A

ASP .NET Newbie

Actually, that is where I found the code to check for single instance.
However, it does not (as far as I can tell) show how to call a function of
that process.

Ideas?

Thanks!

Chad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top