Here's the source code to an old Visual Basic program I wrote back in 2006 called "VB KeyAscii & KeyCode Finder". This program allows you to enter a character and it will give you detailed information about that character including its KeyAscii value, KeyCode value, and VB Constant Value (if there is one). It also allows you to create a range between 2 KeyAscii or KeyCode values so you can easily test for them. It also includes a number of reference materials for KeyAscii values, KeyCode values, the Shift argument, the Chr() and Asc() functions, and VB KeyCode constants. I also have my VB Key Functions module available as a seperate download.
Download vb_keyascii_and_keycode_finder.zip (May 31, 2006)

Filelist
Form1.frm
Module1.bas
VBKeyFunctions.bas
vb_keyascii_chart.txt
vb_keycode_chart.txt
vb_keycode_constants.txt
MSDN Links
Explanation of The KeyDown and KeyUp Events (in Visual Basic 6)
Explanation of The KeyPress Event (in Visual Basic 6)
Thanks a lot, u save my live
Well,very nice,i got a good software after a long time.thank you
Very useful, thanks!
Excelent work, thanks
Saludos desde Sonora Mexico