Visual Basic's Sendkeys statement does not work under Windows Vista. The only way that Visual Basic programers can send keys under Vista is to use the Windows API, SendInput function and that can mean a huge amount of re-coding in applications originally written using the VB Sendkeys statement. Fortunately, M8 can provide a much easier solution.
Keysend.bas is a module which wraps SendInput into a new sub Sendkey. Sendkey is a direct replacement for the VB Sendkeys. To use it, all you have to do is add the module to your project then replace "Sendkeys" with "Sendkey" in your code. Sendkey interprets all Sendkeys parameters without modification.
In addition to fixing Sendkeys problems under Vista, Sendkey also includes the following features not available in the VB Sendkeys:
1. It can send the PrtScr key
2. You can specify that numbers are from the numeric keypad
3. You can set the state of the capslock, numlock and scrollock keys
4. You can send keys between applications with different keyboard layouts.
There are versions for VB5/6/VBA and VB.Net.
What's new in current version
Vista Compatible VBA Compatible.
Requirements
-
Please contact Sendkeys Replacement for Visual Basic publisher, M8 Software(UK) if you have questions or issues regarding this product.
Kaspersky Anti-Virus 7.0 scan report
Download version 3.00.12
with Kaspersky Anti-Virus
on 23, June 2008
Scanned files: 21
Treats detected: 0
Time: 4s
ESET NOD32 Antivirus 3.0 scan report
Download version 3.00.12
with ESET NOD32 Antivirus
on 23, June 2008
Scanned files: 1
Treats detected: 0
Time: 0s