by Brent (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 9th May 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Ascii code
p = KeyAscii
If p = 27 Then
MsgBox "you pressed the escape button"
Else
MsgBox "you did not press the escape button"
'the following link is the table of the Ascii characters
http://web.cs.mun.ca/~michael/c/ascii-table.html