SendKeys throws "Hook cannot be created" security exception in Vista Beta 2

D

Dan Dautrich

I'm using VB 2005 and .NET 2.0 under Vista build 5472 and get a "Hook cannot
be created." security exception whenever I try to call the Send or SendWait
methods of SendKeys, but running the exact same code under Windows XP SP2
works without any problems. Does anyone have a workaround or solution to
this problem?

Thanks,
Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top