sendinput

  1. VBobCat

    Mouse command with Windows API SendInput function - why doesn't it work?

    Dear friends, I would like to command mouse operations with Windows API SendInput function. So I wrote the code below, but it doesn't work. Can anyone point out what I am doing wrong here? Thank you very much. Public Sub MouseMove(ByVal x As Integer, ByVal y As Integer) Dim...
  2. C

    Question How do I use the SendInput API from a Windows service?

    Hi there, I am creating a windows service which uses the SendInput API to send keypresses to an application (must be SendInput, SendKeys doesn't work). For some reason it does not work in a windows service, but the exact same code works flawlessly in a windows form. I'm guessing there is some...
Back
Top