What's Here?
- Members: 98,767
- Replies: 387,068
- Topics: 58,108
- Snippets: 2,026
- Tutorials: 546
- Total Online: 1,046
- Members: 38
- Guests: 1,008
Who's Online?
|
This allow you to see what the ASCII equalivient of the button being pressed.
|
Submitted By: sam_benne
|
|
|
Rating:
|
|
Views: 277 |
Language: Visual Basic
|
|
Last Modified: May 14, 2008 |
|
Instructions: For this you need a label. |
Snippet
Private Sub Form_Load()
KeyPreview = True
MsgBox ("Press any key ")
End Sub
Private Sub Form_KeyPress(KeyAscii As Integer)
Label1.Caption = "You pressed key: " & KeyAscii
End Sub
Copy & Paste
|
|
|
Reference Sheets
Bye Bye Ads
Free DIC T-Shirt
Related Sites
Monthly Drawing
Partners
Top Contributors
Top 10 Kudos This Month
|