Windows service

I am wanting to create a windows service that monitors all mouse clicks and counts them. After x amount of clicks I want an event to happen such as play a sound. I'm pretty fresh with VStudio so any help will be appreciated.

Thanks,
Steve


Answer this question

Windows service

  • FranklinBAH

    Check this Out:

    http://www.codeproject.com/csharp/globalsystemhook.asp

    Best Regards,

    Rizwan



  • Jeremy Corson

    Is mousehook the only method of communicating with windows
    I need this to run in the background even if no applications are running.

    Thanks,
    Steve

  • Ritesh Singh

    Use of Hooks is the onl way to detect mouse Activity, Yes sure you can use that Library in Windows Service to detect the mouse activity...

    If you face any problem in using that ping back...

    Best Regards,

    Rizwan



  • Windows service