Sendkeys Replacement for Visual Basic 2.02.04
With Windows Vista on the horizon, Visual Basics Sendkeys days are numbered. 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". Under Vista beta 2, it doesnt work at all. You just get a "permission denied" error.
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,
There are versions for VB5/6 and VB.Net.
|
Related Tags
Popular Downloads
String Stack / Queue ActiveX 2.0.0Create and manage in-memory stacks and queues of strings with this free ActiveX component. |
VB TreeView ActiveX (OCX) 1.0VB TreeView ActiveX 1.0 is an advanced and ready to use ActiveX control for visual basic developers. Add, remove and edit items to this tree view,... |
URL Parser ActiveX 2.0.0Free URL Parser ActiveX Component. |
RSS2HTML Scout 1.40RSS2HTML Scout is a freeware ActiveX .NET ready programming library that can add RSS reading functions into your application. |
MP3 Player ActiveX (OCX) 1.0MP3 Player ActiveX 1.0 is an OCX control for software developers to play MP3 audio files and many other audio formats directly from an application.... |
MP3 Tags ActiveX (OCX) 1.0MP3 Tags ActiveX 1.0 is an OCX control for software developers and for software authors that can read, write, erase and edit the ID3 tags of MP3... |
FastReport Studio 4 3.21bFastReport® Studio for business contains powerful standalone visual report designer, scheduler of reports building, saving and distribution. Also... |
SuperCombo 1.5SuperCombo is an enhanced ActiveX combo box that includes several properties that are not included in a standard combo box. This is lightweight and... |













