Service access a system tray application?

Posted on 2011-04-29
Last Modified: 2012-05-11

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?

Question by:KABarrie
    LVL 40

    Accepted Solution

    Sure. The "service app" can call the tray app via any number of methods (remoting, SOAP, straight TCP socket, etc.)

    Author Comment


    Could you point me somewhere that would show me?
    LVL 25

    Assisted Solution

    use Named pipes for windows service and tray applicaiton.Below links have some sample.

    Author Closing Comment

    Great answers.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
    Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now