by Afro (6 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
I have seen all of these really complex GetKeyAscii functions out there. Well check this out.
Assumes
You need to paste this code in the KeyUp section of the Form Code.
Private Sub Form_KeyUp (KeyASCII as Integer, KeyCode as Integer)
Label1.Caption = KeyCode
End Sub