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
 

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

Back
Top