469,943 Members | 2,393 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,943 developers. It's quick & easy.

Forms.Sendkeys.SendWait don't work in Vista

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
Jul 18 '06 #1
1 2017
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
Glenn Palomar wrote:
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
Jul 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by AaronB | last post: by
1 post views Thread by Logan McKinley | last post: by
reply views Thread by Austin | last post: by
6 posts views Thread by Michael Maes | last post: by
1 post views Thread by boeffchen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.