471,354 Members | 2,062 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Using class SendKeys in a Service ?


I have made a service in C# from where I want to send different Keystroke
commands to the application in focus.

The service works fine but when I want to send fx. DOWN I use the following:

I get an exception : "Unable to create hook"

Can anybody give me a hint how to solve this problem ?

Best regards,
Brian Brorsbøl
Jul 21 '05 #1
0 1048

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by atr2000 | last post: by
reply views Thread by Brorsbol | last post: by
7 posts views Thread by =?Utf-8?B?Vmlua2k=?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.