Search Tools Links Login

V. Simple GetKeyAscii code


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

Original Author: Afro

Assumptions

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

Code

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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 86 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.