none
Send Key With Windows Service RRS feed

  • Question

  • Hi all,

    I have an windows service that needs to simulate keybord press.

    I already know about session 0 , but my app is working in Windows XP.

    I am getting the handle to the window and try to send the keys to it.

    I tried by :

    * Post message

    * SendInput

    * SendKey (include the System.Windows.Forms to the project)

    but nothing worked .

    Using Window service LocalSystem and Interactive Service process

    What am I doing wrong?

     

    The Developer Side:

    Windows 7 , Visual Studio pro 2008

    This is running on :

    Windows XP Home EM 

     

     

    Thursday, September 16, 2010 3:58 PM

Answers

All replies