VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



V. Simple GetKeyAscii code

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.

Rate V. Simple GetKeyAscii code

Private Sub Form_KeyUp (KeyASCII as Integer, KeyCode as Integer)
Label1.Caption = KeyCode
End Sub

Download this snippet    Add to My Saved Code

V. Simple GetKeyAscii code Comments

No comments have been posted about V. Simple GetKeyAscii code. Why not be the first to post a comment about V. Simple GetKeyAscii code.

Post your comment

Subject:
Message:
0/1000 characters