Forms.Sendkeys.SendWait don't work in Vista

  • Thread starter Thread starter Glenn Palomar
  • Start date Start date
G

Glenn Palomar

Hi,

I have a beta Vista system and I'm running a program (created in VB.net)
that sends keystroke to an application using
System.Windows.Forms.SendKeys.SendWait. In Vista it throws an exception -
System.Security.SecurityException: Hook cannot be created.

Is there a way to workaround this problem? I'm logged-in as the system
administrator.

Thanks,
Glenn
 
Glenn,

Thanks for your post. Our app relies on SendKeys quite a bit and
generates the same error message. We are sending the keystroke to our
own app.

Looking forward to some info from Microsoft.

Jon
 
Back
Top