Results 1 to 2 of 2

Thread: How to Listen to Window Service Events

  1. #1

    Thread Starter
    Fanatic Member Jumpercables's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Posts
    592

    How to Listen to Window Service Events

    I have a window service that is installed on my local machine. I want to develop a user interface that can connect to the service an listen to custom events inside the window service so that I can display the status of the process to the user.

    I have been looking at the ServiceController which hooks onto my Window Service but only allows me to do general operations on the service (Start/Stop).

    Any ideas would be great.

    C# - .NET 1.1 / .NET 2.0

    "Take everything I say with a grain of salt, sometimes I'm right, sometimes I'm wrong but in the end we've both learned something."
    _____________________
    Regular Expressions Library
    Connection String
    API Functions
    Database FAQ & Tutorial

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    Re: How to Listen to Window Service Events

    You could use "named pipes", google for some examples.
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width