Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keystrokes ASCII value...

Status
Not open for further replies.

EdRev

Programmer
Aug 29, 2000
510
US
Where can I get the ASCII values of all the keyboard keystrokes (i.e 1 - 9 is 48 -57 and a -z is 65-91)?

any help will be greatly appreciated.
 
On VB help menu index under the name ASCII codes you have a chart of all of them.

other way is to make a form, and add for example

Private Sub Form_KeyPress(KeyAscii As Integer)

MsgBox (KeyAscii)

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top