Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB6 SendKeys under Windows 8

Posted on 2013-12-05
1
Medium Priority
?
1,501 Views
Last Modified: 2013-12-19
So I have a VB6 program that runs just fine under Windows 7.  When I put it on a Windows 8 machine, it won't allow my code to issue SendKeys command.

Any Ideas???
0
Comment
Question by:hrolsons
1 Comment
 
LVL 15

Accepted Solution

by:
eemit earned 2000 total points
ID: 39698920
You should use SendInput API instead.
Here is an useful Module http://vb.mvps.org/samples/SendInput
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question