Operating System: Windows 95Windows 98Windows 2000Windows MEWindows XP
Additional Requirements: None
Limitations Not available
Sendkeys Replacement for Visual Basic Review
" Sendkeys replacement for Visual Basic. "
The Visual Basic Sendkeys sub has never been 100% reliable. With Windows Vista on the horizon, its days are numbered. If you don't believe us, download the Internet Explorer 7 beta and try Sendkeys with it. You get extra characters in IE7.
Send "James Brown" and it comes out "Jammesss BBrownn"
The only reliable way for Visual Basic programers to send keys in the future will be to use the Windows API, keybd_event function and that can mean a huge amount of re-coding.
Fortunately, M8 can provide a much easier solution. Keysend.bas and Keysend.vb are modules which wrap Keybd_event 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, 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
There are versions for VB5/6 and VB.Net.
Share
Top Related Downloads
1.
MyBooks Learn how to create MySQL clients in C and C++.