Results 1 to 7 of 7

Thread: hex + decimal keycodes utility

Threaded View

  1. #1

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,423

    Thumbs up hex + decimal keycodes utility

    heres a hex + decimal keycodes utility (see attachment)

    vb.net Code:
    1. Public Class Form1
    2.  
    3.     Private Sub Form1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp
    4.         Label3.Text = "key - " & e.KeyCode.ToString
    5.         txtDecimal.Text = e.KeyCode
    6.         txtHexadecimal.Text = "&H" & Hex(Long.Parse(e.KeyCode))
    7.     End Sub
    8.  
    9. End Class
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width