Report KeyPress and KeyDown Events in a Form That Stays On Top

Category:
Miscellaneous
Type:
Modules
Difficulty:
Intermediate
Author:
Raymond Hicks

Version Compatibility: Visual Basic 6

More information:
I wrote this application to use in the development of an Point Of Sale Suite so that I could catch certain KeyPresses to disallow appostrophies and various other Character Codes during a Jet Database read/write/search without throwing errors. A small windowed app that will StayOnTop while you are working so you don't really have to switch windows.

It will not catch windows key sequences (IE: Windows key on keyboard or the Ctrl+Esc sequence or the Print Screen button) but it WILL catch the Alt+Tab sequence and Num Lock, Caps Lock, and Scroll Lock.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download asciifinder.zip