Service access a system tray application?


I have a system tray application, .net c#.  It has certain methods that need to run at certain times.  I have created a windows service to check to see if the system tray application is running.  That is all fine, but once the service has found the system tray application, is it possible that the service could run something within the system tray application?

Kev.
KABarrieAsked:
Who is Participating?
 
mrjoltcolaCommented:
Sure. The "service app" can call the tray app via any number of methods (remoting, SOAP, straight TCP socket, etc.)
0
 
KABarrieAuthor Commented:

Could you point me somewhere that would show me?
0
 
apeterCommented:
use Named pipes for windows service and tray applicaiton.Below links have some sample.

http://msdn.microsoft.com/en-us/library/bb546085.aspx
http://www.switchonthecode.com/tutorials/dotnet-35-adds-named-pipes-support
0
 
KABarrieAuthor Commented:
Great answers.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.