Showing posts with label vb6. Show all posts
Showing posts with label vb6. Show all posts

Wednesday, January 21, 2009

SendKeys under Vista

If you are maintaining a VB6 application or something similar under Vista, and the application makes use of the SendKeys call, you will likely get an exception, particularly if you are running the application within an IDE. This appears to be due to the security model in Vista.

In my case, I was able to rewrite the code to avoid the use of SendKeys. For other possible workarounds, see: