Geeks With Blogs
Deeksha Sharma
Key Codes:-
vbKeyLButton1Left mouse button
vbKeyRButton2Right mouse button
vbKeyCancel3CANCEL key
vbKeyMButton4Middle mouse button
vbKeyBack8BACKSPACE key
vbKeyTab9TAB key
vbKeyClear12CLEAR key
vbKeyReturn13ENTER key
vbKeyShift16SHIFT key
vbKeyControl17CTRL key
vbKeyMenu18MENU key
vbKeyPause19PAUSE key
vbKeyCapital20CAPS LOCK key
vbKeyEscape27ESC key
vbKeySpace32SPACEBAR key
vbKeyPageUp33PAGE UP key
vbKeyPageDown34PAGE DOWN key
vbKeyEnd35END key
vbKeyHome36HOME key
vbKeyLeft37LEFT ARROW key
vbKeyUp38UP ARROW key
vbKeyRight39RIGHT ARROW key
vbKeyDown40DOWN ARROW key
vbKeySelect41SELECT key
vbKeyPrint42PRINT SCREEN key
vbKeyExecute43EXECUTE key
vbKeySnapshot44SNAPSHOT key
vbKeyInsert45INS key
vbKeyDelete46DEL key
vbKeyHelp47HELP key
vbKeyNumlock144NUM LOCK key

KeyA Through KeyZ Are the Same as Their ASCII Equivalents: 'A' Through 'Z'

vbKeyA65A key
vbKeyB66B key
vbKeyC67C key
vbKeyD68D key
vbKeyE69E key
vbKeyF70F key
vbKeyG71G key
vbKeyH72H key
vbKeyI73I key
vbKeyJ74J key
vbKeyK75K key
vbKeyL76L key
vbKeyM77M key
vbKeyN78N key
vbKeyO79O key
vbKeyP80P key
vbKeyQ81Q key
vbKeyR82R key
vbKeyS83S key
vbKeyT84T key
vbKeyU85U key
vbKeyV86V key
vbKeyW87W key
vbKeyX88X key
vbKeyY89Y key
vbKeyZ90Z key

Key0 Through Key9 Are the Same as Their ASCII Equivalents: '0' Through '9

vbKey0480 key
vbKey1491 key
vbKey2502 key
vbKey3513 key
vbKey4524 key
vbKey5535 key
vbKey6546 key
vbKey7557 key
vbKey8568 key
vbKey9579 key

Keys on the Numeric Keypad

vbKeyNumpad0960 key
vbKeyNumpad1971 key
vbKeyNumpad2982 key
vbKeyNumpad3993 key
vbKeyNumpad41004 key
vbKeyNumpad51015 key
vbKeyNumpad61026 key
vbKeyNumpad71037 key
vbKeyNumpad81048 key
vbKeyNumpad91059 key
vbKeyMultiply106MULTIPLICATION SIGN (*) key
vbKeyAdd107PLUS SIGN (+) key
vbKeySeparator108ENTER (keypad) key
vbKeySubtract109MINUS SIGN (-) key
vbKeyDecimal110DECIMAL POINT(.) key
vbKeyDivide111DIVISION SIGN (/) key

Function Keys

vbKeyF1112F1 key
vbKeyF2113F2 key
vbKeyF3114F3 key
vbKeyF4115F4 key
vbKeyF5116F5 key
vbKeyF6117F6 key
vbKeyF7118F7 key
vbKeyF8119F8 key
vbKeyF9120F9 key
vbKeyF10121F10 key
vbKeyF11122F11 key
vbKeyF12123F12 key
vbKeyF13124F13 key
vbKeyF14125F14 key
vbKeyF15126F15 key
vbKeyF16127F16 key
Posted on Monday, October 6, 2014 6:19 AM | Back to top

Comments on this post: Key Code Constants in msdn

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Deeksha Sharma | Powered by: