Send Key With Windows Service

  • Thread starter Thread starter Asaf O
  • Start date Start date
A

Asaf O

Guest
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




Continue reading...
 
Back
Top