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

  • Thread starter Thread starter Dan Dautrich
  • Start date Start date
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
 
Back
Top