Search code examples
c#windows-servicesballoon-tip

Balloon Tooltip using Windows Service C#


I want to open a balloon tooltip using windows service. I can do it in Windows Forms. Is it possible using windows service ?


Solution

  • I have implemented this service before and used a named pipe. Basically you create two applications.

    • A windows service projects which acts as the Named Pipe Server
    • A winforms application with a tray icon, a balloon and a Named Pipe Client

    The windows service pushes messages towards the clients that are connected, could be multiple users on the systems running the winforms app.

    The winforms app listens to messages on the pipe. Once the message comes in you can make the balloon pop up.

    Here is a cool test project: https://www.codeproject.com/Tips/492231/Csharp-Async-Named-Pipes

    Happy coding!