A Sendkeys function replacement, the Visual Basic method that does not work sometimes.
This software from M8 is Sendkeys replacement for Visual Basic. The Sendkeys statement works well up to the Windows XP. The Visual Basic`s Sendkeys statement does not work under Windows Vista. However, this is a very useful function to developers. This, as is known well, helps send a key or multiple characters to the active Window. This is used as an automation method quite often. Only way Visual Basic programmers can send keys under Vista is to use the Windows API, SendInput function. That can lead to a large amount of re-coding in applications originally written using the VB Sendkeys statement. This software solution will let things remain the same if it is used in place of the VB function. 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. All you need to do is to replace "Sendkeys" with "Sendkey" in your code. Sendkey interprets all Sendkeys parameters without modification. Besides solving the problem, the Sendkey function offers additional features compared to what the native VB Sendkeys does. Sendkey is able to send PrtScr key. Numbers from the numeric keyboard can be specified. It is possible to set the state of the capslock, numlock and scrollock keys. It will also help you send keys between applications which use different keyboard layouts. This is a very good tool.