Jump to content

For some reason when I use visual basics ChrW(int) function to get the character from the keycode 112(F1) it returns p. Any ideas why? Im trying to get it to return something like F1 without literally writing

If (e.KeyCode = 112) Then    TextBox1.Text = "F1"End If
Link to comment
https://linustechtips.com/topic/182325-visual-basic-keycode-to-character/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×