Single Instance Of App - Please Help!

  • Thread starter Thread starter ASP .NET Newbie
  • Start date 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
 
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
 
Back
Top