• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

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.
0
KABarrie
Asked:
KABarrie
  • 2
2 Solutions
 
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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now