README.md

December 5, 2022 ยท View on GitHub

V. Simple GetKeyAscii code

Description

I have seen all of these really complex GetKeyAscii functions out there. Well check this out.

More Info

You need to paste this code in the KeyUp section of the Form Code.

Submitted On
ByAfro
LevelBeginner
User Rating4.3 (13 globes from 3 users)
CompatibilityVB 4.0 (32-bit), VB 5.0, VB 6.0
CategoryFiles/ File Controls/ Input/ Output
WorldVisual Basic
Archive File

Source Code

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