Skip to content

NotifyIcon help

Jason Waldrup

Asked Feb 14, 2007, 9:04 AM EST3 answers
Share
LinkedInX
I have a C# application that uses the NotifyIcon control and stays in the notification area when not in use.  I have another application that is able to run a program when a phone call comes in and pass command line arguments to it that contain the call details.

The end result is that  I want it to cause my application to maximize and display the results of a query that was run using the call details.  Can someone point me in the right direction as to what function I should be looking at?  I don't want to launch multiple instances of the application, I just want to pass arguments into it while it is already running.  Basically maximize and display the new query results on each incoming phone call.  I am new to C#.  My development experience is mainly in PHP, so I find myself in a slightly different world - but a very appealing new world.

Thanks in advance for any push in the right direction.  :)

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Thanks for the reply.  My current problem is that I have a program running with the NotifyIcon already, and basically what I need to do is pass variables into it while it is running.  Those variables currently come from another application that hasa the capability to run and executable and pass the variables as command line arguments.  Any help with how to get them into my current NotifyIcon application?
    0
  • 0
    There may be a better way of doing this, but I'd consider looking into using Message Queues? Do a google, quite a lot of information out there...
    0