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. The only reliable way for VB5 / VB6 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 is a VB5 module which wraps 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. The demo is a compiled program which allows you to test Sendkey and compare the results with the old VB Sendkeys. The send buttons send to whichever window had the focus immediately before they were clicked, so you can test send to any application.
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
VB Decompiler
(Popularity: ) : Decompiler of Visual Basic programs.
- Decompiling forms (frm and frx) and usercontrols (ctl) object files;
- Fully p-code decompiling ... !3D Development Studio for Visual Basic
(Popularity: ) : Create top level games or add 3D content to your application. 3DSTATE 3D Developer Studio is based on one of ... HTML Help Generator for Visual Basic 6.0
(Popularity: ) : HTML Help Generator for Visual Basic 6.0 creates context sensitive HTML Help integrated with your Visual Basic applications in seconds. ... MASH
(Popularity: ) : Bring your Desktop to Life with Microsoft Agent Animated Talking Characters in 11 Languages! Record and playback entertaining presentations by ... EasyCAM for Solid Edge
(Popularity: ) : EasyCAM for Solid Edge generates CNC milling code from Solid Edge daft files.
EasyCAM is specifically designed for converting Solid Edge ... Control Panel Applet Generator
(Popularity: ) : Create Control Panel applets (CPLs) without any programming. The Control Panel Applet Generator helps developers quickly create Control Panel Applets, ... Nuzzly - Source Code File Sharer
(Popularity: ) : SimilNapster for Programmers: one of the advantages of network computing is the ability to share files while you are online. ... Multilingual VB6 Setup program with skin
(Popularity: ) : You can change your default VB6 setup program with this inproved setup program.It has a skin and it is multilingual ... Visual Build Professional
(Popularity: ) : Visual Build Pro is a tool that enables developers, software process engineers, and build specialists to create an automated, repeatable ... VBAcodePrint
(Popularity: ) : This add-in enables you to print Microsoft VBA source code in color of your applications across the entire Microsoft Office ...
User reviews
Screenshot
Rate me
supported os's
Windows XP Windows 2000 Windows Me Windows 98 Windows 95