键盘上各个3键位对应的ASCII码

合集下载

(完整word版)ASCII码对照表

(完整word版)ASCII码对照表
198
C6
Æ
大写字母 AE 双重元音
199
C7
Ç
带变音符号的大写字母 C
200
C8
È
带重音符的大写字母 E
201
C9
É
带尖锐重音的大写字母 E
202
CA
Ê
带音调符号的大写字母 E
203
CB
Ë
带元音变音 (分音符号) 的大写字母 E
204
CC
Ì
带重音符的大写字母 I
205
CD
Í
带尖锐重音的大写字母 I
9F
APC
应用程序
其他字符
160
A0
[保留]2
161
A1
¡
反向感叹号
162
A2
¢
分币符
163
A3
£
英磅符
164
A4
[保留]2
165
A5
¥
人民币符
166
A6
[保留]2
167
A7
§
章节符
168
A8
¤
通用货币符号2
169
A9
©
版权符号
170
AA
ª
阴性顺序指示符
171
AB
«
左角引号
172
AC
[保留]2
173
232
E8
è
带重音符的小写字母 e
233
E9
é
带尖锐重音的小写字母 e
234
EA
ê
带音调符号的小写字母 e
235
EB
ë
带元音变音 (分音符号) 的小写字母 e
236

ASCII码对照表

ASCII码对照表
Alt Cape Lock
键码 8 9 12 13 16 17 18 20
控制键键码值(keyCode)
按键
键码
按键
Esc
27
Right Arrow
Spacebar
32
Dw Arrow
Page Up
33
Insert
Page Down
34
Delete
End
35
Num Lock
Home
36
;:
Left Arrow
2 if (e.keyCode == 13) {//当键码值等于13时
3
Fun();
4}
5 })
音量减
174
停止
179
静音
173
浏览器
172
邮件
180
搜索
170
收藏
171
本博客是作者在学习和工作途中的积累与总结仅供自己参考也欢迎大家转载转载时请注明出处
ASCII码 对 照 表
ASCII码 对 照 表
按键 A B C D E F G H I
键码 65 66 67 68 69 70 71 72 73
字母和数字键的键码值(keyCode)
按键
键码
按键
键码
J
74
S
83
K
75
4
100Enter源自1085101-
109
6
102
.
110
7
103
/
111
按键 F1 F2 F3 F4 F5 F6
功能键键码值(keyCode)
键码
按键
112
F7
113

键盘按键对应的编码

键盘按键对应的编码

键盘按键对应的编码
键盘按键对应的编码通常是通过使用ASCII码(American Standard Code for Information Interchange)或Unicode编码来表示的。

这些编码用于将键盘上的每个按键映射到特定的字符或控制码。

下面是一些常见的键盘按键和它们对应的ASCII码或Unicode编码:
1. 字母键:A-Z对应的ASCII码为65-90(大写字母)和97-122(小写字母)。

2. 数字键:0-9对应的ASCII码为48-57。

3. 功能键:F1-F12对应的ASCII码为112-123。

4. 控制键:例如Enter键对应的ASCII码为13,Tab键对应的ASCII码为9,空格键对应的ASCII码为32,退格键对应的ASCII码为8。

5. 特殊符号键:例如感叹号键对应的ASCII码为33,问号键对应的ASCII 码为63,加号键对应的ASCII码为43,等等。

Unicode编码是一种更为全面的字符编码系统,它包含了全球范围内的各种字符和符号。

Unicode编码使用16位或32位来表示每个字符,包括了各种语言的字母、标点符号、数学符号、货币符号等等。

需要注意的是,不同的操作系统和键盘布局可能会有一些细微的差异,因此具体的键盘按键编码可能会有所不同。

如果需要获取特定键盘按键的编码,最好
参考相关的文档或编程语言的API文档。

键盘各键对应的ASCII码值

键盘各键对应的ASCII码值
0x75 F6 键
0x76 F7 键
0x77 F8 键
0x78 F9 键
0x79 F10 键
0x7A F11 键
0x7B F12 键
0x7C F13 键
0x7D F14 键
0x7E F15 键
0x7F F16 键
值 描述
0x60 0 键
0x61 1 键
0x62 2 键
0x63 3 键
0x64 4 键
0x65 5 键
0x66 6 键
0x67 7 键
0x68 8 键
0x69 9 键
0x6A MULTIPLICATION SIGN (*) 键
0x6B PLUS SIGN (+) 键
方向键(→): VK_RIGHT (39)
方向键(↓): VK_DOWN (40)
F1键: VK_F1 (112)
F2键: VK_F2 (113)
F3键: VK_F3 (114)
F4键: VK_F4 (115)
F5键: VK_F5 (116)
F6键: VK_F6 (117)
小键盘1: VK_NUMPAD0 (97)
小键盘2: VK_NUMPAD0 (98)
小键盘3: VK_NUMPAD0 (99)
小键盘4: VK_NUMPAD0 (100)
小键盘5: VK_NUMPAD0 (101)
小键盘6: VK_NUMPAD0 (102)
小键盘7: VK_NUMPAD0 (103)
Pause Break键: VK_PAUSE (19)
Scroll Lock键: VK_SCROLL (145)

最全ASCII对应码表-键值

最全ASCII对应码表-键值

OCT(八进制)最全ASCII码对应表—与键盘按键对应值(二进)Bin (十进)Dec (十六进)Hex 缩写/字符解释0000 0000 0 00 NUL (null) 空字符0000 0001 1 01 SOH (start of handing) 标题开始0000 0010 2 02 STX (start of text) 正文开始0000 0011 3 03 ETX (end of text) 正文结束0000 0100 4 04 EOT (end of transmission) 传输结束0000 0101 5 05 ENQ (enquiry) 请求0000 0110 6 06 ACK (acknowledge) 收到通知0000 0111 7 07 BEL (bell) 响铃0000 1000 8 08 BS (backspace) 退格0000 1001 9 09 HT (horizontal tab) 水平制表符0000 1010 10 0A LF (NL line feed, new line) 换行键0000 1011 11 0B VT (vertical tab) 垂直制表符0000 1100 12 0C FF (NP form feed, new page) 换页键0000 1101 13 0D CR (carriage return) 回车键0000 1110 14 0E SO (shift out) 不用切换0000 1111 15 0F SI (shift in) 启用切换0001 0000 16 10 DLE (data link escape) 数据链路转义0001 0001 17 11 DC1 (device control 1) 设备控制1 0001 0010 18 12 DC2 (device control 2) 设备控制20001 0011 19 13 DC3 (device control 3) 设备控制3 0001 0100 20 14 DC4 (device control 4) 设备控制4 0001 0101 21 15 NAK (negative acknowledge) 拒绝接收0001 0110 22 16 SYN (synchronous idle) 同步空闲0001 0111 23 17 ETB (end of trans. block) 传输块结束0001 1000 24 18 CAN (cancel) 取消0001 1001 25 19 EM (end of medium) 介质中断0001 1010 26 1A SUB (substitute) 替补0001 1011 27 1B ESC (escape) 溢出0001 1100 28 1C FS (file separator) 文件分割符0001 1101 29 1D GS (group separator) 分组符0001 1110 30 1E RS (record separator) 记录分离符0001 1111 31 1F US (unit separator) 单元分隔符0010 0000 32 20 空格0010 0001 33 21 !0010 0010 34 22 "0010 0011 35 23 #0010 0100 36 24 $0010 0101 37 25 %0010 0110 38 26 &0010 0111 39 27 '0010 1000 40 28 (0010 1010 42 2A * 0010 1011 43 2B + 0010 1100 44 2C , 0010 1101 45 2D - 0010 1110 46 2E . 0010 1111 47 2F / 0011 0000 48 30 0 0011 0001 49 31 1 0011 0010 50 32 2 0011 0011 51 33 3 0011 0100 52 34 4 0011 0101 53 35 5 0011 0110 54 36 6 0011 0111 55 37 7 0011 1000 56 38 8 0011 1001 57 39 9 0011 1010 58 3A : 0011 1011 59 3B ; 0011 1100 60 3C < 0011 1101 61 3D = 0011 1110 62 3E >0100 0000 64 40 @0100 0001 65 41 A 0100 0010 66 42 B 0100 0011 67 43 C 0100 0100 68 44 D 0100 0101 69 45 E 0100 0110 70 46 F 0100 0111 71 47 G 0100 1000 72 48 H 0100 1001 73 49 I 0100 1010 74 4A J 0100 1011 75 4B K 0100 1100 76 4C L 0100 1101 77 4D M 0100 1110 78 4E N 0100 1111 79 4F O 0101 0000 80 50 P 0101 0001 81 51 Q 0101 0010 82 52 R 0101 0011 83 53 S0101 0101 85 55 U 0101 0110 86 56 V 0101 0111 87 57 W 0101 1000 88 58 X 0101 1001 89 59 Y 0101 1010 90 5A Z 0101 1011 91 5B [ 0101 1100 92 5C \ 0101 1101 93 5D ] 0101 1110 94 5E ^ 0101 1111 95 5F _ 0110 0000 96 60 ` 0110 0001 97 61 a 0110 0010 98 62 b 0110 0011 99 63 c 0110 0100 100 64 d 0110 0101 101 65 e 0110 0110 102 66 f 0110 0111 103 67 g 0110 1000 104 68 h 0110 1001 105 69 i0110 1011 107 6B k0110 1100 108 6C l0110 1101 109 6D m0110 1110 110 6E n0110 1111 111 6F o0111 0000 112 70 p0111 0001 113 71 q0111 0010 114 72 r0111 0011 115 73 s0111 0100 116 74 t0111 0101 117 75 u0111 0110 118 76 v0111 0111 119 77 w0111 1000 120 78 x0111 1001 121 79 y0111 1010 122 7A z0111 1011 123 7B {0111 1100 124 7C |0111 1101 125 7D }0111 1110 126 7E ~0111 1111 127 7F DEL (delete) 删除键盘常用ASCII码(十进制表示值)ESC键VK_ESCAPE (27)回车键:VK_RETURN (13)TAB键:VK_TAB (9)Caps Lock键:VK_CAPITAL (20)Shift键:VK_SHIFT (16)Ctrl键:VK_CONTROL (17)Alt键:VK_MENU (18)空格键:VK_SPACE (/32)退格键:VK_BACK (8)左徽标键:VK_LWIN (91)右徽标键:VK_LWIN (92)鼠标右键快捷键:VK_APPS (93)Insert键:VK_INSERT (45)Home键:VK_HOME (36)Page Up:VK_PRIOR (33)PageDown:VK_NEXT (34)End键:VK_END (35)Delete键:VK_DELETE (46)方向键(←):VK_LEFT (37)方向键(↑):VK_UP (38)方向键(→):VK_RIGHT (39)方向键(↓):VK_DOWN (40)F1键:VK_F1 (112)F2键:VK_F2 (113)F3键:VK_F3 (114)F4键:VK_F4 (115)F5键:VK_F5 (116)F6键:VK_F6 (117)F7键:VK_F7 (118)F8键:VK_F8 (119)F9键:VK_F9 (120)F10键:VK_F10 (121)F11键:VK_F11 (122)F12键:VK_F12 (123)Num Lock键:VK_NUMLOCK (144)小键盘0:VK_NUMPAD0 (96)小键盘1:VK_NUMPAD0 (97)小键盘2:VK_NUMPAD0 (98)小键盘3:VK_NUMPAD0 (99)小键盘4:VK_NUMPAD0 (100)小键盘5:VK_NUMPAD0 (101)小键盘6:VK_NUMPAD0 (102)小键盘7:VK_NUMPAD0 (103)小键盘8:VK_NUMPAD0 (104)小键盘9:VK_NUMPAD0 (105)小键盘.:VK_DECIMAL (110)小键盘*:VK_MULTIPLY (106)小键盘+:VK_MULTIPLY (107)小键盘-:VK_SUBTRACT (109)小键盘/:VK_DIVIDE (111)Pause Break键:VK_PAUSE (19)Scroll Lock键:VK_SCROLL (145)Bin二进Dec十进Hex十六进缩写/字符解释00000000000 NUL(null)空字符00000001101SOH(start of handling)标题开始常见ASCII码的大小规则:0~9<A~Z<a~z1)数字比字母要小。

键盘各键对应的ASCII码值

键盘各键对应的ASCII码值

键盘各键对应的ASCII码值(包括鼠标和键盘所有的键) ESC键VK_ESCAPE (27)回车键:VK_RETURN (13)TAB键:VK_TAB (9)Caps Lock键:VK_CAPITAL (20)Shift键:VK_SHIFT ($10)Ctrl键:VK_CONTROL (17)Alt键:VK_MENU (18)空格键:VK_SPACE ($20/32)退格键:VK_BACK (8)左徽标键:VK_LWIN (91)右徽标键:VK_LWIN (92)鼠标右键快捷键:VK_APPS (93)------------------------------------------Insert键:VK_INSERT (45)Home键:VK_HOME (36)Page Up:VK_PRIOR (33)PageDown:VK_NEXT (34)End键:VK_END (35)Delete键:VK_DELETE (46)方向键(←):VK_LEFT (37)方向键(↑):VK_UP (38)方向键(→):VK_RIGHT (39)方向键(↓):VK_DOWN (40)------------------------------------------F1键:VK_F1 (112)F2键:VK_F2 (113)F3键:VK_F3 (114)F4键:VK_F4 (115)F5键:VK_F5 (116)F6键:VK_F6 (117)F7键:VK_F7 (118)F8键:VK_F8 (119)F9键:VK_F9 (120)F10键:VK_F10 (121)F11键:VK_F11 (122)F12键:VK_F12 (123)------------------------------------------Num Lock键:VK_NUMLOCK (144)小键盘0:VK_NUMPAD0 (96)小键盘1:VK_NUMPAD0 (97)小键盘2:VK_NUMPAD0 (98)小键盘3:VK_NUMPAD0 (99)小键盘4:VK_NUMPAD0 (100)小键盘5:VK_NUMPAD0 (101)小键盘6:VK_NUMPAD0 (102)小键盘7:VK_NUMPAD0 (103)小键盘8:VK_NUMPAD0 (104)小键盘9:VK_NUMPAD0 (105)小键盘.:VK_DECIMAL (110)小键盘*:VK_MULTIPLY (106)小键盘+:VK_MULTIPLY (107)小键盘-:VK_SUBTRACT (109)小键盘/:VK_DIVIDE (111)Pause Break键:VK_PAUSE (19)Scroll Lock键:VK_SCROLL (145)------------------------------------------0x1 鼠标左键0x2 鼠标右键0x3 CANCEL 键0x4 鼠标中键0x8 BACKSPACE 键0x9 TAB 键0xC CLEAR 键0xD ENTER 键0x10 SHIFT 键0x11 CTRL 键0x12 MENU 键0x13 PAUSE 键0x14 CAPS LOCK 键0x1B ESC 键0x20 SPACEBAR 键0x21 PAGE UP 键0x22 PAGE DOWN 键0x23 END 键0x24 HOME 键0x25 LEFT ARROW 键0x26 UP ARROW 键0x27 RIGHT ARROW 键0x28 DOWN ARROW 键0x29 SELECT 键0x2A PRINT SCREEN 键0x2B EXECUTE 键0x2C SNAPSHOT 键0x2D INSERT 键0x2E DELETE 键0x2F HELP 键0x90 NUM LOCK 键A 至Z 键与A –Z 字母的ASCII 码相同:值描述65 A 键66 B 键67 C 键68 D 键69 E 键70 F 键71 G 键72 H 键73 I 键74 J 键75 K 键76 L 键77 M 键78 N 键79 O 键80 P 键81 Q 键82 R 键83 S 键84 T 键85 U 键86 V 键87 W 键88 X 键89 Y 键90 Z 键------------------------------------------0 至9 键与数字0 –9 的ASCII 码相同:值描述48 0 键49 1 键50 2 键51 3 键52 4 键53 5 键54 6 键55 7 键56 8 键57 9 键下列常数代表数字键盘上的键:值描述0x60 0 键0x61 1 键0x62 2 键0x63 3 键0x64 4 键0x65 5 键0x66 6 键0x67 7 键0x68 8 键0x69 9 键0x6A MULTIPLICATION SIGN (*) 键0x6B PLUS SIGN (+) 键0x6C ENTER 键0x6D MINUS SIGN (–) 键0x6E DECIMAL POINT (.) 键0x6F DIVISION SIGN (/) 键---------------------------------------------- 下列常数代表功能键:值描述0x70 F1 键0x71 F2 键0x72 F3 键0x73 F4 键0x74 F5 键0x75 F6 键0x76 F7 键0x77 F8 键0x78 F9 键0x79 F10 键0x7A F11 键0x7B F12 键0x7C F13 键0x7D F14 键0x7E F15 键0x7F F16 键。

键盘上各个3键位对应的ASCII码

键盘上各个3键位对应的ASCII码

键盘上各个3键位对应的ASCII码键盘上各键位所对应的ASCII码详单(键盘键位表)常数值描述vbKey LButton 0x1鼠标左键vbKey RButton 0x2 鼠标右键vbKey Cancel 0x3 CANCEL 键vbKey MButton 0x4鼠标中键vbKey Back 0x8 BACKSPACE 键vbKey Tab 0x9TAB 键vbKey Clear 0x C CLEAR 键vbKey Return 0x D ENTER 键vbKey Shift 0x10SHIFT 键vbKey Control 0x11CTRL 键vbKey Menu 0x12 MENU 键vbKey Pause 0x13PAUSE 键vbKey Capital 0x14 CAPS LOCK 键vbKey Escape 0x1B ESC 键vbKey Space 0x20SPACEBAR 键vbKey PageUp 0x21PAGE UP 键vbKey PageDown 0x22PAGE DOWN 键vbKey End 0x23 END 键vbKey Home 0x24HOME 键vbKey Left 0x25LEFT ARROW 键vbKey Up 0x26UP ARROW 键vbKey Right 0x27 RIGHT ARROW 键vbKey Down 0x28DOWN ARROW 键vbKey Select 0x29SELECT 键vbKey Print 0x2A PRINT SCREEN 键vbKey Execute 0x2B EXECUTE 键vbKey Snapshot 0x2C SNAPSHOT 键vbKey Insert 0x2D INSERT 键vbKey Delete 0x2E DELETE 键vbKey Help 0x2F HELP 键vbKey Numlock 0x90NUM LOCK 键A至Z 键与A-Z字母的ASCII 码相同:常数值描述vbKey A 65 A 键vbKey B 66 B 键vbKey C 67 C 键vbKey D 68 D 键vbKey E 69 E 键vbKey F 70 F 键vbKey G 71G 键vbKey H 72H 键vbKey I 73I 键vbKey J 74 J 键vbKey K 75 K 键vbKey L 76L 键vbKey M 77M 键vbKey N 78N 键vbKey O 79 O 键vbKey P 80P 键vbKey Q 81 Q 键vbKey R 82R 键vbKey S 83S 键vbKey T 84 T 键vbKey U 85 U 键vbKey V 86V 键vbKey W 87W 键vbKey X 88X 键vbKey Y 89 Y 键vbKey Z 90 Z 键0至9键与数字0-9的ASCII 码相同:常数值描述vbKey0 480 键vbKey1 49 1 键vbKey2 50 2 键vbKey3 51 3 键vbKey4 52 4 键vbKey5 53 5 键vbKey6 54 6 键vbKey7 557 键vbKey8 568 键vbKey9 579 键下列常数代表数字键盘上的键:常数值描述vbKey Numpad0 0x60键vbKey Numpad1 0x61 键vbKey Numpad2 0x62 2 键vbKey Numpad3 0x63键vbKey Numpad4 0x64键vbKey Numpad5 0x65键vbKey Numpad6 0x66键vbKey Numpad7 0x677 键vbKey Numpad8 0x68键vbKey Numpad9 0x69键vbKey Multiply 0x6A MULTIPLICATION SIGN (*) 键vbKey Add 0x6B PLUS SIGN (+) 键vbKey Separator 0x6C ENTER 键vbKey Subtract 0x6D MINUS SIGN (-) 键vbKey Decimal 0x6E DECIMAL POINT (.) 键vbKey Divide 0x6F DIVISION SIGN (/) 键下列常数代表功能键:常数值描述vbKey F1 0x70 F1 键vbKey F2 0x71 F2 键vbKey F3 0x72 F3 键vbKey F4 0x73 F4 键vbKey F5 0x74 F5 键vbKey F6 0x75 F6 键vbKey F7 0x76 F7 键vbKey F8 0x77 F8 键vbKey F9 0x78 F9 键vbKey F10 0x79 F10 键vbKey F11 0x7A F11 键vbKey F12 0x7B F12 键vbKey F13 0x7C F13 键vbKey F14 0x7D F14 键vbKey F15 0x7E F15 键vbKey F16 0x7F F16 键。

键盘数字对应的ASCII码(keycode码)

键盘数字对应的ASCII码(keycode码)

键盘数字对应的ASCII码(keycode码)keycode 1 = ⿏标左键keycode 2 = ⿏标右键keycode 3 = Cancelkeycode 4 = ⿏标中键keycode 8 = BackSpacekeycode 9 = Tabkeycode 12 = Clear(未知)keycode 13 = Enterkeycode 16 = Shift_Lkeycode 17 = Control_Lkeycode 18 = Alt_Lkeycode 19 = Pausekeycode 20 = Caps_Lockkeycode 27 = Escapekeycode 32 = spacekeycode 33 = Prior(PageUp键)keycode 34 = Next(PageDown键)keycode 35 = Endkeycode 36 = Homekeycode 37 = Leftkeycode 38 = Upkeycode 39 = Rightkeycode 40 = Downkeycode 41 = Select(未知)keycode 42 = Print(PrintScreen键)keycode 43 = Execute(未知)keycode 45 = Insertkeycode 46 = Deletekeycode 47 = Help(未知)keycode 48 = 0 equal bracerightkeycode 49 = 1 exclam onesuperiorkeycode 50 = 2 quotedbl twosuperiorkeycode 51 = 3 section threesuperiorkeycode 52 = 4 dollarkeycode 53 = 5 percentkeycode 54 = 6 ampersandkeycode 55 = 7 slash braceleftkeycode 56 = 8 parenleft bracketleftkeycode 57 = 9 parenright bracketrightkeycode 65 = a Akeycode 66 = b Bkeycode 67 = c Ckeycode 68 = d Dkeycode 69 = e E EuroSignkeycode 70 = f Fkeycode 71 = g Gkeycode 72 = h Hkeycode 73 = i Ikeycode 74 = j Jkeycode 75 = k Kkeycode 76 = l Lkeycode 77 = m M mukeycode 78 = n Nkeycode 79 = o Okeycode 80 = p Pkeycode 81 = q Q atkeycode 82 = r Rkeycode 83 = s Skeycode 84 = t Tkeycode 85 = u Ukeycode 86 = v Vkeycode 87 = w Wkeycode 88 = x Xkeycode 89 = y Ykeycode 90 = z Zkeycode 96 = KP_0 KP_0(⼩键盘数字0)keycode 97 = KP_1 KP_1(⼩键盘数字1)keycode 98 = KP_2 KP_2(⼩键盘数字2)keycode 99 = KP_3 KP_3(⼩键盘数字3)keycode 100 = KP_4 KP_4(⼩键盘数字4)keycode 101 = KP_5 KP_5(⼩键盘数字5)keycode 102 = KP_6 KP_6(⼩键盘数字6)keycode 103 = KP_7 KP_7(⼩键盘数字7)keycode 104 = KP_8 KP_8(⼩键盘数字8)keycode 105 = KP_9 KP_9(⼩键盘数字9)keycode 106 = KP_Multiply KP_Multiply(⼩键盘乘)keycode 107 = KP_Add KP_Add(⼩键盘加)keycode 108 = KP_Separator KP_Separator(⼩键盘回车键)keycode 109 = KP_Subtract KP_Subtract(⼩键盘减)keycode 110 = KP_Decimal KP_Decimal(⼩键盘⼩数点)keycode 111 = KP_Divide KP_Divide(⼩键盘除)keycode 112 = F1keycode 113 = F2keycode 114 = F3keycode 115 = F4keycode 116 = F5keycode 117 = F6keycode 118 = F7keycode 119 = F8keycode 120 = F9keycode 121 = F10keycode 122 = F11keycode 123 = F12keycode 124 = F13keycode 125 = F14keycode 126 = F15keycode 127 = F16keycode 128 = F17keycode 129 = F18keycode 130 = F19keycode 131 = F20keycode 132 = F21keycode 133 = F22keycode 134 = F23keycode 135 = F24keycode 136 = Num_Lockkeycode 137 = Scroll_Lock(未知)keycode 187 = acute grave(未知)keycode 188 = comma semicolon(未知)(逗号分号)keycode 189 = minus underscore (减号下划线)keycode 190 = period colon (未知冒号)keycode 192 = numbersign apostrophe(未知单引号)keycode 210 = plusminus hyphen macron (未知 & ^)keycode 211 =keycode 212 = copyright registered(未知)keycode 213 = guillemotleft guillemotright(未知)keycode 214 = masculine ordfeminine(未知)keycode 215 = ae AE(未知)keycode 216 = cent yen(未知)keycode 217 = questiondown exclamdown(未知)keycode 218 = onequarter onehalf threequarters(未知)keycode 220 = less greater bar(⼩于号⼤于号未知)keycode 221 = plus asterisk asciitilde(加号星号未知)keycode 227 = multiply division(乘除)keycode 228 = acircumflex Acircumflex(未知)keycode 229 = ecircumflex Ecircumflex(未知)keycode 230 = icircumflex Icircumflex(未知)keycode 231 = ocircumflex Ocircumflex(未知)keycode 232 = ucircumflex Ucircumflex(未知)keycode 233 = ntilde Ntilde(未知)keycode 234 = yacute Yacute(未知)keycode 235 = oslash Ooblique(未知)keycode 236 = aring Aring(未知)keycode 237 = ccedilla Ccedilla(未知)keycode 238 = thorn THORN(未知)keycode 239 = eth ETH(未知)keycode 240 = diaeresis cedilla currency(未知)keycode 241 = agrave Agrave atilde Atilde(未知)keycode 242 = egrave Egrave(未知)keycode 243 = igrave Igrave(未知)keycode 244 = ograve Ograve otilde Otilde(未知)keycode 245 = ugrave Ugrave(未知)keycode 246 = adiaeresis Adiaeresis(未知)keycode 247 = ediaeresis Ediaeresis(未知)keycode 248 = idiaeresis Idiaeresis(未知)keycode 249 = odiaeresis Odiaeresis(未知)keycode 250 = udiaeresis Udiaeresis(未知)keycode 251 = ssharp question backslash(未知)keycode 252 = asciicircum degree(未知)keycode 253 = 3 sterling(未知)keycode 254 = Mode_switch(未知)如果要使⽤组合键,则可以利⽤event.ctrlKey,event.shiftKey,event .altKey值为true或false,判断是否按下了ctrl键、shift键以及alt键。

键盘ASCII码值对照表

键盘ASCII码值对照表

键盘ASCII码值对照表0x1 鼠标左键0x2 鼠标右键0x3 CANCEL 键0x4 鼠标中键0x8 BACKSPACE 键0x9 TAB 键0xC CLEAR 键0xD ENTER 键0x10 SHIFT 键0x11 CTRL 键0x12 MENU 键0x13 PAUSE 键0x14 CAPS LOCK 键0x1B ESC 键0x20 SPACEBAR 键0x21 PAGE UP 键0x22 PAGE DOWN 键0x23 END 键0x24 HOME 键0x25 LEFT ARROW 键0x26 UP ARROW 键0x27 RIGHT ARROW 键0x28 DOWN ARROW 键0x29 SELECT 键0x2A PRINT SCREEN 键0x2B EXECUTE 键0x2C SNAPSHOT 键0x2D INSERT 键0x2E DELETE 键0x2F HELP 键0x90 NUM LOCK 键====================================大小写字母的 ASCII 码相同:值描述65 A 键66 B 键67 C 键68 D 键69 E 键70 F 键71 G 键74 J 键75 K 键76 L 键77 M 键78 N 键79 O 键80 P 键81 Q 键82 R 键83 S 键84 T 键85 U 键86 V 键87 W 键88 X 键89 Y 键90 Z 键===================================0 至9 键的ASCII 码:值描述48 0 键49 1 键50 2 键51 3 键52 4 键53 5 键54 6 键55 7 键56 8 键57 9 键===================================下列常数代表数字键盘上的键:值描述0x60 0 键0x61 1 键0x62 2 键0x63 3 键0x64 4 键0x65 5 键0x66 6 键0x67 7 键0x6A MULTIPLICATION SIGN (*) 键0x6B PLUS SIGN (+) 键0x6C ENTER 键0x6D MINUS SIGN (–) 键0x6E DECIMAL POINT (.) 键0x6F DIVISION SIGN (/) 键====================================下列常数代表功能键:值描述0x70 F1 键0x71 F2 键0x72 F3 键0x73 F4 键0x74 F5 键0x75 F6 键0x76 F7 键0x77 F8 键0x78 F9 键0x79 F10 键0x7A F11 键0x7B F12 键0x7C F13 键0x7D F14 键0x7E F15 键0x7F F16 键====================================ASCII 码对照表Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex ------------------------------------------------------------------------------------- (nul) 0 0000 0x00 | (sp) 32 0040 0x20 | @ 64 0100 0x40 | ` 96 0140 0x60(soh) 1 0001 0x01 | ! 33 0041 0x21 | A 65 0101 0x41 | a 97 0141 0x61(stx) 2 0002 0x02 | " 34 0042 0x22 | B 66 0102 0x42 | b 98 0142 0x62(etx) 3 0003 0x03 | # 35 0043 0x23 | C 67 0103 0x43 | c 99 0143 0x63(eot) 4 0004 0x04 | $ 36 0044 0x24 | D 68 0104 0x44 | d 100 0144 0x64(enq) 5 0005 0x05 | % 37 0045 0x25 | E 69 0105 0x45 | e 101 0145 0x65(ack) 6 0006 0x06 | & 38 0046 0x26 | F 70 0106 0x46 | f 102 0146 0x66(bel) 7 0007 0x07 | ' 39 0047 0x27 | G 71 0107 0x47 | g 103 0147 0x67(bs) 8 0010 0x08 | ( 40 0050 0x28 | H 72 0110 0x48 | h 104 0150 0x68(ht) 9 0011 0x09 | ) 41 0051 0x29 | I 73 0111 0x49 | i 105 0151 0x69(nl) 10 0012 0x0a | * 42 0052 0x2a | J 74 0112 0x4a | j 106 0152 0x6a(vt) 11 0013 0x0b | + 43 0053 0x2b | K 75 0113 0x4b | k 107 0153 0x6b(np) 12 0014 0x0c | , 44 0054 0x2c | L 76 0114 0x4c | l 108 0154 0x6c(cr) 13 0015 0x0d | - 45 0055 0x2d | M 77 0115 0x4d | m 109 0155 0x6d(so) 14 0016 0x0e | . 46 0056 0x2e | N 78 0116 0x4e | n 110 0156 0x6e(si) 15 0017 0x0f | / 47 0057 0x2f | O 79 0117 0x4f | o 111 0157 0x6f(dle) 16 0020 0x10 | 0 48 0060 0x30 | P 80 0120 0x50 | p 112 0160 0x70 (dc1) 17 0021 0x11 | 1 49 0061 0x31 | Q 81 0121 0x51 | q 113 0161 0x71 (dc2) 18 0022 0x12 | 2 50 0062 0x32 | R 82 0122 0x52 | r 114 0162 0x72 (dc3) 19 0023 0x13 | 3 51 0063 0x33 | S 83 0123 0x53 | s 115 0163 0x73 (dc4) 20 0024 0x14 | 4 52 0064 0x34 | T 84 0124 0x54 | t 116 0164 0x74 (nak) 21 0025 0x15 | 5 53 0065 0x35 | U 85 0125 0x55 | u 117 0165 0x75 (syn) 22 0026 0x16 | 6 54 0066 0x36 | V 86 0126 0x56 | v 118 0166 0x76 (etb) 23 0027 0x17 | 7 55 0067 0x37 | W 87 0127 0x57 | w 119 0167 0x77 (can) 24 0030 0x18 | 8 56 0070 0x38 | X 88 0130 0x58 | x 120 0170 0x78 (em) 25 0031 0x19 | 9 57 0071 0x39 | Y 89 0131 0x59 | y 121 0171 0x79(sub) 26 0032 0x1a | : 58 0072 0x3a | Z 90 0132 0x5a | z 122 0172 0x7a(esc) 27 0033 0x1b | ; 59 0073 0x3b | [ 91 0133 0x5b | { 123 0173 0x7b(fs) 28 0034 0x1c | < 60 0074 0x3c | \ 92 0134 0x5c | | 124 0174 0x7c(gs) 29 0035 0x1d | = 61 0075 0x3d | ] 93 0135 0x5d | } 125 0175 0x7d(rs) 30 0036 0x1e | > 62 0076 0x3e | ^ 94 0136 0x5e | ~ 126 0176 0x7e(us) 31 0037 0x1f | ? 63 0077 0x3f | _ 95 0137 0x5f | (del) 127 0177 0x7f====================================常数值描述vbKeyLButton 1 鼠标左键vbKeyRButton 2 鼠标右键vbKeyCancel 3 CANCELvbKeyMButton 4 鼠标中键vbKeyBack 8 BACKSPACEvbKeyTab 9 TABvbKeyClear 12 CLEARvbKeyReturn 13 ENTERvbKeyShift 16 SHIFTvbKeyControl 17 CTRLvbKeyMenu 18 菜单键vbKeyPause 19 PAUSEvbKeyCapital 20 CAPS LOCKvbKeyEscape 27 ESCvbKeySpace 32 SPACEBARvbKeyPageUp 33 PAGEUPvbKeyPageDown 34 PAGEDOWNvbKeyEnd 35 ENDvbKeyHome 36 HOMEvbKeyLeft 37 LEFT ARROWvbKeyUp 38 UP ARROW vbKeyRight 39 RIGHT ARROW vbKeyDown 40 DOWN ARROW vbKeySelect 41 SELECT vbKeyPrint 42 PRINT SCREEN vbKeyExecute 43 EXECUTE vbKeySnapshot 44 SNAP SHOT vbKeyInser 45 INSvbKeyDelete 46 DELvbKeyHelp 47 HELP vbKeyNumlock 144 NUM LOCKvbKeyA 65 AvbKeyB 66 BvbKeyC 67 CvbKeyD 68 DvbKeyE 69 EvbKeyF 70 FvbKeyG 71 GvbKeyH 72 HvbKeyI 73 IvbKeyJ 74 JvbKeyK 75 KvbKeyL 76 LvbKeyM 77 MvbKeyN 78 NvbKeyO 79 OvbKeyP 80 PvbKeyQ 81 QvbKeyR 82 RvbKeyS 83 SvbKeyT 84 TvbKeyU 85 UvbKeyV 86 VvbKeyW 87 WvbKeyX 88 XvbKeyY 89 YvbKeyZ 90 ZvbKey0 48 0vbKey1 49 1vbKey2 50 2vbKey3 51 3vbKey4 52 4vbKey5 53 5vbKey6 54 6vbKey7 55 7vbKey8 56 8vbKey9 57 9数字小键盘上的键vbKeyNumpad0 96 0vbKeyNumpad1 97 1vbKeyNumpad2 98 2vbKeyNumpad3 99 3vbKeyNumpad4 100 4vbKeyNumpad5 101 5vbKeyNumpad6 102 6vbKeyNumpad7 103 7vbKeyNumpad8 104 8vbKeyNumpad9 105 9vbKeyMultiply 106 乘号(*)vbKeyAdd 107 加号(+) vbKeySeparator 108 ENTER(在数字小键盘上)vbKeySubtract 109 减号(-)vbKeyDecimal 110 小数点(.)vbKeyDivide 111 除号(/)功能键vbKeyF1 112 F1vbKeyF2 113 F2vbKeyF3 114 F3vbKeyF4 115 F4vbKeyF5 116 F5vbKeyF6 117 F6vbKeyF7 118 F7vbKeyF8 119 F8vbKeyF9 120 F9vbKeyF10 121 F10vbKeyF11 122 F11vbKeyF12 123 F12vbKeyF13 124 F13vbKeyF14 125 F14vbKeyF15 126 F15vbKeyF16 127 F16。

最全ASCII对应码表-键值

最全ASCII对应码表-键值

OCT(八进制)最全ASCII码对应表—与键盘按键对应值(二进)Bin (十进)Dec (十六进)Hex 缩写/字符解释0000 0000 0 00 NUL (null) 空字符0000 0001 1 01 SOH (start of handing) 标题开始0000 0010 2 02 STX (start of text) 正文开始0000 0011 3 03 ETX (end of text) 正文结束0000 0100 4 04 EOT (end of transmission) 传输结束0000 0101 5 05 ENQ (enquiry) 请求0000 0110 6 06 ACK (acknowledge) 收到通知0000 0111 7 07 BEL (bell) 响铃0000 1000 8 08 BS (backspace) 退格0000 1001 9 09 HT (horizontal tab) 水平制表符0000 1010 10 0A LF (NL line feed, new line) 换行键0000 1011 11 0B VT (vertical tab) 垂直制表符0000 1100 12 0C FF (NP form feed, new page) 换页键0000 1101 13 0D CR (carriage return) 回车键0000 1110 14 0E SO (shift out) 不用切换0000 1111 15 0F SI (shift in) 启用切换0001 0000 16 10 DLE (data link escape) 数据链路转义0001 0001 17 11 DC1 (device control 1) 设备控制1 0001 0010 18 12 DC2 (device control 2) 设备控制20001 0011 19 13 DC3 (device control 3) 设备控制3 0001 0100 20 14 DC4 (device control 4) 设备控制4 0001 0101 21 15 NAK (negative acknowledge) 拒绝接收0001 0110 22 16 SYN (synchronous idle) 同步空闲0001 0111 23 17 ETB (end of trans. block) 传输块结束0001 1000 24 18 CAN (cancel) 取消0001 1001 25 19 EM (end of medium) 介质中断0001 1010 26 1A SUB (substitute) 替补0001 1011 27 1B ESC (escape) 溢出0001 1100 28 1C FS (file separator) 文件分割符0001 1101 29 1D GS (group separator) 分组符0001 1110 30 1E RS (record separator) 记录分离符0001 1111 31 1F US (unit separator) 单元分隔符0010 0000 32 20 空格0010 0001 33 21 !0010 0010 34 22 "0010 0011 35 23 #0010 0100 36 24 $0010 0101 37 25 %0010 0110 38 26 &0010 0111 39 27 '0010 1000 40 28 (0010 1010 42 2A * 0010 1011 43 2B + 0010 1100 44 2C , 0010 1101 45 2D - 0010 1110 46 2E . 0010 1111 47 2F / 0011 0000 48 30 0 0011 0001 49 31 1 0011 0010 50 32 2 0011 0011 51 33 3 0011 0100 52 34 4 0011 0101 53 35 5 0011 0110 54 36 6 0011 0111 55 37 7 0011 1000 56 38 8 0011 1001 57 39 9 0011 1010 58 3A : 0011 1011 59 3B ; 0011 1100 60 3C < 0011 1101 61 3D = 0011 1110 62 3E >0100 0000 64 40 @0100 0001 65 41 A 0100 0010 66 42 B 0100 0011 67 43 C 0100 0100 68 44 D 0100 0101 69 45 E 0100 0110 70 46 F 0100 0111 71 47 G 0100 1000 72 48 H 0100 1001 73 49 I 0100 1010 74 4A J 0100 1011 75 4B K 0100 1100 76 4C L 0100 1101 77 4D M 0100 1110 78 4E N 0100 1111 79 4F O 0101 0000 80 50 P 0101 0001 81 51 Q 0101 0010 82 52 R 0101 0011 83 53 S0101 0101 85 55 U 0101 0110 86 56 V 0101 0111 87 57 W 0101 1000 88 58 X 0101 1001 89 59 Y 0101 1010 90 5A Z 0101 1011 91 5B [ 0101 1100 92 5C \ 0101 1101 93 5D ] 0101 1110 94 5E ^ 0101 1111 95 5F _ 0110 0000 96 60 ` 0110 0001 97 61 a 0110 0010 98 62 b 0110 0011 99 63 c 0110 0100 100 64 d 0110 0101 101 65 e 0110 0110 102 66 f 0110 0111 103 67 g 0110 1000 104 68 h 0110 1001 105 69 i0110 1011 107 6B k0110 1100 108 6C l0110 1101 109 6D m0110 1110 110 6E n0110 1111 111 6F o0111 0000 112 70 p0111 0001 113 71 q0111 0010 114 72 r0111 0011 115 73 s0111 0100 116 74 t0111 0101 117 75 u0111 0110 118 76 v0111 0111 119 77 w0111 1000 120 78 x0111 1001 121 79 y0111 1010 122 7A z0111 1011 123 7B {0111 1100 124 7C |0111 1101 125 7D }0111 1110 126 7E ~0111 1111 127 7F DEL (delete) 删除键盘常用ASCII码(十进制表示值)ESC键VK_ESCAPE (27)回车键:VK_RETURN (13)TAB键:VK_TAB (9)Caps Lock键:VK_CAPITAL (20)Shift键:VK_SHIFT (16)Ctrl键:VK_CONTROL (17)Alt键:VK_MENU (18)空格键:VK_SPACE (/32)退格键:VK_BACK (8)左徽标键:VK_LWIN (91)右徽标键:VK_LWIN (92)鼠标右键快捷键:VK_APPS (93)Insert键:VK_INSERT (45)Home键:VK_HOME (36)Page Up:VK_PRIOR (33)PageDown:VK_NEXT (34)End键:VK_END (35)Delete键:VK_DELETE (46)方向键(←):VK_LEFT (37)方向键(↑):VK_UP (38)方向键(→):VK_RIGHT (39)方向键(↓):VK_DOWN (40)F1键:VK_F1 (112)F2键:VK_F2 (113)F3键:VK_F3 (114)F4键:VK_F4 (115)F5键:VK_F5 (116)F6键:VK_F6 (117)F7键:VK_F7 (118)F8键:VK_F8 (119)F9键:VK_F9 (120)F10键:VK_F10 (121)F11键:VK_F11 (122)F12键:VK_F12 (123)Num Lock键:VK_NUMLOCK (144)小键盘0:VK_NUMPAD0 (96)小键盘1:VK_NUMPAD0 (97)小键盘2:VK_NUMPAD0 (98)小键盘3:VK_NUMPAD0 (99)小键盘4:VK_NUMPAD0 (100)小键盘5:VK_NUMPAD0 (101)小键盘6:VK_NUMPAD0 (102)小键盘7:VK_NUMPAD0 (103)小键盘8:VK_NUMPAD0 (104)小键盘9:VK_NUMPAD0 (105)小键盘.:VK_DECIMAL (110)小键盘*:VK_MULTIPLY (106)小键盘+:VK_MULTIPLY (107)小键盘-:VK_SUBTRACT (109)小键盘/:VK_DIVIDE (111)Pause Break键:VK_PAUSE (19)Scroll Lock键:VK_SCROLL (145)Bin二进Dec十进Hex十六进缩写/字符解释00000000000 NUL(null)空字符00000001101SOH(start of handling)标题开始常见ASCII码的大小规则:0~9<A~Z<a~z1)数字比字母要小。

最全ASCII对应码表-键值

最全ASCII对应码表-键值

OCT(八进制)最全ASCII码对应表-与键盘按键对应值(二进)Bin (十进)Dec (十六进)Hex 缩写/字符解释0000 0000 0 00 NUL (null)空字符0000 0001 1 01 SOH (start of handing) 标题开始0000 0010 2 02 STX (start of text) 正文开始0000 0011 3 03 ETX (end of text)正文结束0000 0100 4 04 EOT (end of transmission)传输结束0000 0101 5 05 ENQ (enquiry) 请求0000 0110 6 06 ACK (acknowledge) 收到通知0000 0111 7 07 BEL (bell) 响铃0000 1000 8 08 BS (backspace) 退格0000 1001 9 09 HT (horizontal tab)水平制表符0000 1010 10 0A LF (NL line feed, new line)换行键0000 1011 11 0B VT (vertical tab)垂直制表符0000 1100 12 0C FF (NP form feed, new page) 换页键0000 1101 13 0D CR (carriage return)回车键0000 1110 14 0E SO (shift out)不用切换0000 1111 15 0F SI (shift in) 启用切换0001 0000 16 10 DLE (data link escape)数据链路转义0001 0001 17 11 DC1 (device control 1) 设备控制1 0001 0010 18 12 DC2 (device control 2) 设备控制20001 0011 19 13 DC3 (device control 3)设备控制3 0001 0100 20 14 DC4 (device control 4) 设备控制4 0001 0101 21 15 NAK (negative acknowledge)拒绝接收0001 0110 22 16 SYN (synchronous idle) 同步空闲0001 0111 23 17 ETB (end of trans。

ASC码对应键盘按键

ASC码对应键盘按键

ASC码对应键盘按键键盘按下事件的对应的ASC码不容易记,现在就把它写下来,作为备份a-z:65-90ESC键 VK_ESCAPE (27)回车键: VK_RETURN (13)TAB键: VK_TAB (9)Caps Lock键: VK_CAPITAL (20)Shift键: VK_SHIFT ($10/16)Ctrl键: VK_CONTROL (17)Alt键: VK_MENU (18)空格键: VK_SPACE ($20/32)退格键: VK_BACK (8)左徽标键: VK_LWIN (91)右徽标键: VK_LWIN (92)鼠标右键快捷键:VK_APPS (93)Insert键: VK_Insert (45)Home键: VK_HOME (36)Page Up: VK_PRIOR (33)PageDown: VK_NEXT (34)End键: VK_END (35)Delete键: VK_Delete (46)方向键(←): VK_LEFT (37)方向键(↑): VK_UP (38)方向键(→): VK_RIGHT (39)方向键(↓): VK_DOWN (40)F1键: VK_F1 (112)F2键: VK_F2 (113)F3键: VK_F3 (114)F4键: VK_F4 (115)F5键: VK_F5 (116)F6键: VK_F6 (117)F7键: VK_F7 (118)F8键: VK_F8 (119)F9键: VK_F9 (120)F10键: VK_F10 (121)F11键: VK_F11 (122)F12键: VK_F12 (123)Num Lock键: VK_NUMLOCK (144)小键盘0: VK_NUMPAD0 (96)小键盘1: VK_NUMPAD0 (97)小键盘2: VK_NUMPAD0 (98)小键盘3: VK_NUMPAD0 (99)小键盘4: VK_NUMPAD0 (100)小键盘5: VK_NUMPAD0 (101)小键盘6: VK_NUMPAD0 (102)小键盘7: VK_NUMPAD0 (103)小键盘8: VK_NUMPAD0 (104)小键盘9: VK_NUMPAD0 (105)小键盘.: VK_DECIMAL (110)小键盘*: VK_MULTIPLY (106)小键盘+: VK_MULTIPLY (107)小键盘-: VK_SUBTRACT (109)小键盘/: VK_DIVIDE (111)Pause Break键: VK_PAUSE (19)Scroll Lock键:VK_SCROLL (145)键盘按下事件的对应的ASC 码不容易记,现在就把它写下来,作为备份a-z:65-90ESC键 VK_ESCAPE (27)回车键: VK_RETURN (13)TAB键: VK_TAB (9)Caps Lock键: VK_CAPITAL (20) Shift键: VK_SHIFT ($10/16) Ctrl键: VK_CONTROL (17)Alt键: VK_MENU (18)空格键: VK_SPACE ($20/32)退格键: VK_BACK (8)左徽标键: VK_LWIN (91)右徽标键: VK_LWIN (92)鼠标右键快捷键:VK_APPS (93) Insert键: VK_Insert (45) Home键: VK_HOME (36) Page Up: VK_PRIOR (33) PageDown: VK_NEXT (34) End键: VK_END (35)Delete键: VK_Delete (46)方向键(←): VK_LEFT (37)方向键(↑): VK_UP (38)方向键(→): VK_RIGHT (39)方向键(↓): VK_DOWN (40)F1键: VK_F1 (112)F2键: VK_F2 (113)F3键: VK_F3 (114)F4键: VK_F4 (115)F5键: VK_F5 (116)F6键: VK_F6 (117)F7键: VK_F7 (118)F8键: VK_F8 (119)F9键: VK_F9 (120)F10键: VK_F10 (121)F11键: VK_F11 (122)F12键: VK_F12 (123)Num Lock键: VK_NUMLOCK (144) 小键盘0: VK_NUMPAD0 (96)小键盘1: VK_NUMPAD0 (97)小键盘2: VK_NUMPAD0 (98)小键盘3: VK_NUMPAD0 (99)小键盘4: VK_NUMPAD0 (100)小键盘5: VK_NUMPAD0 (101)小键盘6: VK_NUMPAD0 (102)小键盘7: VK_NUMPAD0 (103)小键盘8: VK_NUMPAD0 (104)小键盘9: VK_NUMPAD0 (105)小键盘.: VK_DECIMAL (110)小键盘*: VK_MULTIPLY (106)小键盘+: VK_MULTIPLY (107)小键盘-: VK_SUBTRACT (109)小键盘/: VK_DIVIDE (111)Pause Break键: VK_PAUSE (19) Scroll Lock键: VK_SCROLL (145)。

最全ASCII对应码表-键值[学习]

最全ASCII对应码表-键值[学习]

OCT(八进制)最全ASCII码对应表—与键盘按键对应值(二进)Bin (十进)Dec (十六进)Hex 缩写/字符解释0000 0000 0 00 NUL (null) 空字符0000 0001 1 01 SOH (start of handing) 标题开始0000 0010 2 02 STX (start of text) 正文开始0000 0011 3 03 ETX (end of text) 正文结束0000 0100 4 04 EOT (end of transmission) 传输结束0000 0101 5 05 ENQ (enquiry) 请求0000 0110 6 06 ACK (acknowledge) 收到通知0000 0111 7 07 BEL (bell) 响铃0000 1000 8 08 BS (backspace) 退格0000 1001 9 09 HT (horizontal tab) 水平制表符0000 1010 10 0A LF (NL line feed, new line) 换行键0000 1011 11 0B VT (vertical tab) 垂直制表符0000 1100 12 0C FF (NP form feed, new page) 换页键0000 1101 13 0D CR (carriage return) 回车键0000 1110 14 0E SO (shift out) 不用切换0000 1111 15 0F SI (shift in) 启用切换0001 0000 16 10 DLE (data link escape) 数据链路转义0001 0001 17 11 DC1 (device control 1) 设备控制1 0001 0010 18 12 DC2 (device control 2) 设备控制20001 0011 19 13 DC3 (device control 3) 设备控制3 0001 0100 20 14 DC4 (device control 4) 设备控制4 0001 0101 21 15 NAK (negative acknowledge) 拒绝接收0001 0110 22 16 SYN (synchronous idle) 同步空闲0001 0111 23 17 ETB (end of trans. block) 传输块结束0001 1000 24 18 CAN (cancel) 取消0001 1001 25 19 EM (end of medium) 介质中断0001 1010 26 1A SUB (substitute) 替补0001 1011 27 1B ESC (escape) 溢出0001 1100 28 1C FS (file separator) 文件分割符0001 1101 29 1D GS (group separator) 分组符0001 1110 30 1E RS (record separator) 记录分离符0001 1111 31 1F US (unit separator) 单元分隔符0010 0000 32 20 空格0010 0001 33 21 !0010 0010 34 22 "0010 0011 35 23 #0010 0100 36 24 $0010 0101 37 25 %0010 0110 38 26 &0010 0111 39 27 '0010 1000 40 28 (0010 1001 41 29 )0010 1010 42 2A *0010 1011 43 2B +0010 1100 44 2C ,0010 1101 45 2D -0010 1110 46 2E .0011 0010 50 32 2 0011 0011 51 33 3 0011 0100 52 34 4 0011 0101 53 35 5 0011 0110 54 36 6 0011 0111 55 37 7 0011 1000 56 38 8 0011 1001 57 39 9 0011 1010 58 3A : 0011 1011 59 3B ; 0011 1100 60 3C < 0011 1101 61 3D = 0011 1110 62 3E > 0011 1111 63 3F ? 0100 0000 64 40 @0100 0001 65 41 A 0100 0010 66 42 B 0100 0011 67 43 C 0100 0100 68 44 D 0100 0101 69 45 E 0100 0110 70 46 F 0100 0111 71 47 G 0100 1000 72 48 H 0100 1001 73 49 I 0100 1010 74 4A J 0100 1011 75 4B K 0100 1100 76 4C L 0100 1101 77 4D M 0100 1110 78 4E N 0100 1111 79 4F O 0101 0000 80 50 P 0101 0001 81 51 Q 0101 0010 82 52 R 0101 0011 83 53 S0101 0111 87 57 W 0101 1000 88 58 X 0101 1001 89 59 Y 0101 1010 90 5A Z 0101 1011 91 5B [ 0101 1100 92 5C \ 0101 1101 93 5D ] 0101 1110 94 5E ^ 0101 1111 95 5F _ 0110 0000 96 60 ` 0110 0001 97 61 a 0110 0010 98 62 b 0110 0011 99 63 c 0110 0100 100 64 d 0110 0101 101 65 e 0110 0110 102 66 f 0110 0111 103 67 g 0110 1000 104 68 h 0110 1001 105 69 i 0110 1010 106 6A j 0110 1011 107 6B k 0110 1100 108 6C l 0110 1101 109 6D m 0110 1110 110 6E n 0110 1111 111 6F o 0111 0000 112 70 p 0111 0001 113 71 q 0111 0010 114 72 r 0111 0011 115 73 s 0111 0100 116 74 t 0111 0101 117 75 u 0111 0110 118 76 v 0111 0111 119 77 w 0111 1000 120 78 x 0111 1001 121 79 y0111 1101 125 7D }0111 1110 126 7E ~0111 1111 127 7F DEL (delete) 删除键盘常用ASCII码(十进制表示值)ESC键 VK_ESCAPE (27)回车键: VK_RETURN (13)TAB键: VK_TAB (9)Caps Lock键:VK_CAPITAL (20)Shift键: VK_SHIFT (16)Ctrl键: VK_CONTROL (17)Alt键: VK_MENU (18)空格键: VK_SPACE (/32)退格键: VK_BACK (8)左徽标键:VK_LWIN (91)右徽标键: VK_LWIN (92)鼠标右键快捷键:VK_APPS (93)Insert键: VK_INSERT (45)Home键: VK_HOME (36)Page Up: VK_PRIOR (33)PageDown:VK_NEXT (34)End键: VK_END (35)Delete键: VK_DELETE (46)方向键(←): VK_LEFT (37)方向键(↑): VK_UP (38)方向键(→): VK_RIGHT (39)方向键(↓): VK_DOWN (40)F1键: VK_F1 (112)F2键: VK_F2 (113)F3键: VK_F3 (114)F4键: VK_F4 (115)F5键: VK_F5 (116)F6键: VK_F6 (117)F7键: VK_F7 (118)F8键: VK_F8 (119)F9键: VK_F9 (120)F10键: VK_F10 (121)F11键: VK_F11 (122)F12键: VK_F12 (123)Num Lock键:VK_NUMLOCK (144)小键盘0: VK_NUMPAD0 (96)小键盘1: VK_NUMPAD0 (97)小键盘2: VK_NUMPAD0 (98)小键盘3: VK_NUMPAD0 (99)小键盘4: VK_NUMPAD0 (100)小键盘5: VK_NUMPAD0 (101)小键盘6: VK_NUMPAD0 (102)小键盘7: VK_NUMPAD0 (103)小键盘8: VK_NUMPAD0 (104)小键盘9: VK_NUMPAD0 (105)小键盘.: VK_DECIMAL (110)小键盘*: VK_MULTIPLY (106)小键盘+: VK_MULTIPLY (107)小键盘-: VK_SUBTRACT (109)小键盘/: VK_DIVIDE (111) Pause Break键:VK_PAUSE (19) Scroll Lock键:VK_SCROLL (145)Bin二进Dec十进Hex十六进缩写/字符解释00000000000 NUL(null)空字符00000001101SOH(start of handling)标题开始00000010202STX (start of text)正文开始00000011303ETX (end of text)正文结束00000100404EOT (end of transm-ission)传输结束00000101505ENQ (enquiry)请求00000110606ACK (acknow-ledge)收到通知00000111707BEL (bell)响铃00001000808BS (backsp-ace)退格000010019 09HT (horizon-tal tab)水平制表符0000101010 0A LF (NL line feed, new line)换行键0000101111 0B VT (vertical tab)垂直制表符0000110012 0C FF (NP form feed, new page)换页键00001101130D CR (carriage return) 回车键00001110140E SO (shift out)不用切换00001111150F SI (shift in)启用切换0001000016 10DLE (data link escape) 数据链路转义000100011711 DC1 (device control 1) 设备控制1 000100101812 DC2 (device control 2)设备控制2 0001001119 13DC3 (device control 3) 设备控制3 000101002014 DC4 (device control 4)设备控制4 000101012115 NAK (negati-ve acknowl-edge) 拒绝接收000101102216 SYN (synchr-onous idle) 同步空闲0001011123 17ETB (end of trans. block)传输块结束0001100024 18CAN (cancel) 取消0001100125 19EM (end of medium)介质中断0001101026 1A SUB (substit-ute)替补0001101127 1B ESC (escape) 溢出0001110028 1C FS (file separat-or) 文件分割符0001110129 1D GS (group separat-or) 分组符0001111030 1E RS (record separat-or) 记录分离符0001111131 1F US (unit separat-or)单元分隔符0010000032 20空格0010000133 21 !001000103422 "0010001135 23#0010010036 24$0010010137 25%0010011038 26&0010011139 27 '0010100040 28(001010014129)0010101042 2A*00101011432B+0010110044 2C ,0010110145 2D-0010111046 2E .0010111147 2F/ 0011000048 300 0011000149 31 1 0011001050 32 2 0011001151 33 3 0011010052 34 4 0011010153 35 5 0011011054366 0011011155 37 7 0011100056 388 0011100157 39 9 0011101058 3A: 00111011593B; 0011110060 3C< 00111101613D= 0011111062 3E> 0011111163 3F ? 010******* 40@ 010*********A 010******* 42 B 010*********C 010******* 44 D 010*********E 010********* F010*********G 010******* 48H 010*********I 010******* 4A J 010********B K 010******* 4C L 010********D M 010******* 4E N 010********F O 010******* 50P 010*********Q 010********* R 010*********S 010******* 54T 010******* 55 U 010******* 56V 010******* 57W 010******* 58X 010********* Y 010******* 5A Z 010******* 5B[ 010********C\ 010******* 5D] 010********E ^010******* 5F_ 0110000096 60` 011000019761 a 0110001098 62 b 0110001199 63 c 0110010010064d 01100101101 65 e 01100110102 66f 01100111103 67g 01101000104 68 h 01101001105 69i 011010101066A j 01101011107 6B k 01101100108 6C l 01101101109 6D m 011011101106E n 01101111111 6F o 01110000112 70 p 01110001113 71q 01110010114 72 r 01110011115 73s 01110100116 74 t 01110101117 75 u 01110110118 76v01110111119 77w01111000120 78x01111001121 79y01111010122 7A z01111011123 7B{01111100124 7C|01111101125 7D}01111110126 7E ~01111111127 7F DEL (delete)删除 常见ASCII码的大小规则:0~9<A~Z<a~z 1)数字比字母要小。

键盘ASCII码值对照表

键盘ASCII码值对照表

键盘ASCII码值对照表(转载至互联网)2009-11-05 11:200x1 鼠标左键0x2 鼠标右键0x3 CANCEL 键0x4 鼠标中键0x8 BACKSPACE 键0x9 TAB 键0xC CLEAR 键0xD ENTER 键0x10 SHIFT 键0x11 CTRL 键0x12 MENU 键0x13 PAUSE 键0x14 CAPS LOCK 键0x1B ESC 键0x20 SPACEBAR 键0x21 PAGE UP 键0x22 PAGE DOWN 键0x23 END 键0x24 HOME 键0x25 LEFT ARROW 键0x26 UP ARROW 键0x27 RIGHT ARROW 键0x28 DOWN ARROW 键0x29 SELECT 键0x2A PRINT SCREEN 键0x2B EXECUTE 键0x2C SNAPSHOT 键0x2D INSERT 键0x2E DELETE 键0x2F HELP 键0x90 NUM LOCK 键====================================大小写字母的 ASCII 码相同:值描述65 A 键66 B 键67 C 键68 D 键69 E 键70 F 键71 G 键73 I 键74 J 键75 K 键76 L 键77 M 键78 N 键79 O 键80 P 键81 Q 键82 R 键83 S 键84 T 键85 U 键86 V 键87 W 键88 X 键89 Y 键90 Z 键===================================0 至 9 键的 ASCII 码:值描述48 0 键49 1 键50 2 键51 3 键52 4 键53 5 键54 6 键55 7 键56 8 键57 9 键===================================下列常数代表数字键盘上的键:值描述0x60 0 键0x61 1 键0x62 2 键0x63 3 键0x64 4 键0x65 5 键0x66 6 键0x68 8 键0x69 9 键0x6A MULTIPLICATION SIGN (*) 键0x6B PLUS SIGN (+) 键0x6C ENTER 键0x6D MINUS SIGN (–) 键0x6E DECIMAL POINT (.) 键0x6F DIVISION SIGN (/) 键====================================下列常数代表功能键:值描述0x70 F1 键0x71 F2 键0x72 F3 键0x73 F4 键0x74 F5 键0x75 F6 键0x76 F7 键0x77 F8 键0x78 F9 键0x79 F10 键0x7A F11 键0x7B F12 键0x7C F13 键0x7D F14 键0x7E F15 键0x7F F16 键====================================ASCII 码对照表Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex-------------------------------------------------------------------------------------(nul) 0 0000 0x00 | (sp) 32 0040 0x20 | @ 64 0100 0x40 | ` 96 0140 0x60(soh) 1 0001 0x01 | ! 33 0041 0x21 | A 65 0101 0x41 | a 97 0141 0x61(stx) 2 0002 0x02 | " 34 0042 0x22 | B 66 0102 0x42 | b 98 0142 0x62(etx) 3 0003 0x03 | # 35 0043 0x23 | C 67 0103 0x43 | c 99 0143 0x63(eot) 4 0004 0x04 | $ 36 0044 0x24 | D 68 0104 0x44 | d 100 0144 0x64(enq) 5 0005 0x05 | % 37 0045 0x25 | E 69 0105 0x45 | e 101 0145 0x65(ack) 6 0006 0x06 | & 38 0046 0x26 | F 70 0106 0x46 | f 102 0146 0x66(bel) 7 0007 0x07 | ' 39 0047 0x27 | G 71 0107 0x47 | g 103 0147 0x67(bs) 8 0010 0x08 | ( 40 0050 0x28 | H 72 0110 0x48 | h 104 0150 0x68 (ht) 9 0011 0x09 | ) 41 0051 0x29 | I 73 0111 0x49 | i 105 0151 0x69 (nl) 10 0012 0x0a | * 42 0052 0x2a | J 74 0112 0x4a | j 106 0152 0x6a (vt) 11 0013 0x0b | + 43 0053 0x2b | K 75 0113 0x4b | k 107 0153 0x6b (np) 12 0014 0x0c | , 44 0054 0x2c | L 76 0114 0x4c | l 108 0154 0x6c (cr) 13 0015 0x0d | - 45 0055 0x2d | M 77 0115 0x4d | m 109 0155 0x6d (so) 14 0016 0x0e | . 46 0056 0x2e | N 78 0116 0x4e | n 110 0156 0x6e (si) 15 0017 0x0f | / 47 0057 0x2f | O 79 0117 0x4f | o 111 0157 0x6f (dle) 16 0020 0x10 | 0 48 0060 0x30 | P 80 0120 0x50 | p 112 0160 0x70 (dc1) 17 0021 0x11 | 1 49 0061 0x31 | Q 81 0121 0x51 | q 113 0161 0x71 (dc2) 18 0022 0x12 | 2 50 0062 0x32 | R 82 0122 0x52 | r 114 0162 0x72 (dc3) 19 0023 0x13 | 3 51 0063 0x33 | S 83 0123 0x53 | s 115 0163 0x73 (dc4) 20 0024 0x14 | 4 52 0064 0x34 | T 84 0124 0x54 | t 116 0164 0x74 (nak) 21 0025 0x15 | 5 53 0065 0x35 | U 85 0125 0x55 | u 117 0165 0x75 (syn) 22 0026 0x16 | 6 54 0066 0x36 | V 86 0126 0x56 | v 118 0166 0x76 (etb) 23 0027 0x17 | 7 55 0067 0x37 | W 87 0127 0x57 | w 119 0167 0x77 (can) 24 0030 0x18 | 8 56 0070 0x38 | X 88 0130 0x58 | x 120 0170 0x78 (em) 25 0031 0x19 | 9 57 0071 0x39 | Y 89 0131 0x59 | y 121 0171 0x79 (sub) 26 0032 0x1a | : 58 0072 0x3a | Z 90 0132 0x5a | z 122 0172 0x7a (esc) 27 0033 0x1b | ; 59 0073 0x3b | [ 91 0133 0x5b | { 123 0173 0x7b (fs) 28 0034 0x1c | < 60 0074 0x3c | \ 92 0134 0x5c | | 124 0174 0x7c (gs) 29 0035 0x1d | = 61 0075 0x3d | ] 93 0135 0x5d | } 125 0175 0x7d (rs) 30 0036 0x1e | > 62 0076 0x3e | ^ 94 0136 0x5e | ~ 126 0176 0x7e (us) 31 0037 0x1f | ? 63 0077 0x3f | _ 95 0137 0x5f | (del) 127 0177 0x7f ====================================常数值描述vbKeyLButton 1 鼠标左键vbKeyRButton 2 鼠标右键vbKeyCancel 3 CANCELvbKeyMButton 4 鼠标中键vbKeyBack 8 BACKSPACEvbKeyTab 9 TABvbKeyClear 12 CLEARvbKeyReturn 13 ENTERvbKeyShift 16 SHIFTvbKeyControl 17 CTRLvbKeyMenu 18 菜单键vbKeyPause 19 PAUSEvbKeyCapital 20 CAPS LOCKvbKeyEscape 27 ESCvbKeySpace 32 SPACEBARvbKeyPageUp 33 PAGEUPvbKeyPageDown 34 PAGEDOWN vbKeyEnd 35 END vbKeyHome 36 HOME vbKeyLeft 37 LEFT ARROW vbKeyUp 38 UP ARROW vbKeyRight 39 RIGHT ARROW vbKeyDown 40 DOWN ARROW vbKeySelect 41 SELECT vbKeyPrint 42 PRINT SCREEN vbKeyExecute 43 EXECUTE vbKeySnapshot 44 SNAP SHOT vbKeyInser 45 INS vbKeyDelete 46 DEL vbKeyHelp 47 HELP vbKeyNumlock 144 NUM LOCKvbKeyA 65 AvbKeyB 66 BvbKeyC 67 CvbKeyD 68 DvbKeyE 69 EvbKeyF 70 FvbKeyG 71 GvbKeyH 72 HvbKeyI 73 IvbKeyJ 74 JvbKeyK 75 KvbKeyL 76 LvbKeyM 77 MvbKeyN 78 NvbKeyO 79 OvbKeyP 80 PvbKeyQ 81 QvbKeyR 82 RvbKeyS 83 SvbKeyT 84 TvbKeyU 85 UvbKeyV 86 VvbKeyW 87 WvbKeyX 88 XvbKeyY 89 YvbKeyZ 90 ZvbKey0 48 0vbKey1 49 1vbKey2 50 2vbKey3 51 3vbKey4 52 4vbKey5 53 5vbKey6 54 6vbKey7 55 7vbKey8 56 8vbKey9 57 9数字小键盘上的键vbKeyNumpad0 96 0vbKeyNumpad1 97 1vbKeyNumpad2 98 2vbKeyNumpad3 99 3vbKeyNumpad4 100 4vbKeyNumpad5 101 5vbKeyNumpad6 102 6vbKeyNumpad7 103 7vbKeyNumpad8 104 8vbKeyNumpad9 105 9vbKeyMultiply 106 乘号(*)vbKeyAdd 107 加号(+)vbKeySeparator 108 ENTER(在数字小键盘上)vbKeySubtract 109 减号(-)vbKeyDecimal 110 小数点(.)vbKeyDivide 111 除号(/)功能键vbKeyF1 112 F1vbKeyF2 113 F2vbKeyF3 114 F3vbKeyF4 115 F4vbKeyF5 116 F5vbKeyF6 117 F6vbKeyF7 118 F7vbKeyF8 119 F8vbKeyF9 120 F9vbKeyF10 121 F10vbKeyF11 122 F11vbKeyF12 123 F12vbKeyF13 124 F13vbKeyF14 125 F14 vbKeyF15 126 F15。

键盘 ASCI I 码值对照表

键盘 ASCI I 码值对照表

键盘 ASCI I 码值对照表2010-06-02 11:590x1 鼠标左键0x2 鼠标右键0x3 CANCEL 键0x4 鼠标中键0x8 BACKSPACE 键0x9 TAB 键0xC CLEAR 键0xD ENTER 键0x10 SHIFT 键0x11 CTRL 键0x12 MENU 键0x13 PAUSE 键0x14 CAPS LOCK 键0x1B ESC 键0x20 SPACEBAR 键0x21 PAGE UP 键0x22 PAGE DOWN 键0x23 END 键0x24 HOME 键0x25 LEFT ARROW 键0x26 UP ARROW 键0x27 RIGHT ARROW 键0x28 DOWN ARROW 键0x29 SELECT 键0x2A PRINT SCREEN 键0x2B EXECUTE 键0x2C SNAPSHOT 键0x2D INSERT 键0x2E DELETE 键0x2F HELP 键0x90 NUM LOCK 键====================================大小写字母的 ASCII 码相同:值描述65 A 键66 B 键67 C 键68 D 键69 E 键70 F 键72 H 键73 I 键74 J 键75 K 键76 L 键77 M 键78 N 键79 O 键80 P 键81 Q 键82 R 键83 S 键84 T 键85 U 键86 V 键87 W 键88 X 键89 Y 键90 Z 键===================================0 至 9 键的 ASCII 码:值描述48 0 键49 1 键50 2 键51 3 键52 4 键53 5 键54 6 键55 7 键56 8 键57 9 键===================================下列常数代表数字键盘上的键:值描述0x60 0 键0x61 1 键0x62 2 键0x63 3 键0x65 5 键0x66 6 键0x67 7 键0x68 8 键0x69 9 键0x6A MULTIPLICATION SIGN (*) 键0x6B PLUS SIGN (+) 键0x6C ENTER 键0x6D MINUS SIGN (–) 键0x6E DECIMAL POINT (.) 键0x6F DIVISION SIGN (/) 键====================================下列常数代表功能键:值描述0x70 F1 键0x71 F2 键0x72 F3 键0x73 F4 键0x74 F5 键0x75 F6 键0x76 F7 键0x77 F8 键0x78 F9 键0x79 F10 键0x7A F11 键0x7B F12 键0x7C F13 键0x7D F14 键0x7E F15 键0x7F F16 键====================================ASCII 码对照表Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex -------------------------------------------------------------------------------------(nul) 0 0000 0x00 | (sp) 32 0040 0x20 | @ 64 0100 0x40 | ` 96 0140 0x60 (soh) 1 0001 0x01 | ! 33 0041 0x21 | A 65 0101 0x41 | a 97 0141 0x61 (stx) 2 0002 0x02 | " 34 0042 0x22 | B 66 0102 0x42 | b 98 0142 0x62(etx) 3 0003 0x03 | # 35 0043 0x23 | C 67 0103 0x43 | c 99 0143 0x63 (eot) 4 0004 0x04 | $ 36 0044 0x24 | D 68 0104 0x44 | d 100 0144 0x64 (enq) 5 0005 0x05 | % 37 0045 0x25 | E 69 0105 0x45 | e 101 0145 0x65 (ack) 6 0006 0x06 | & 38 0046 0x26 | F 70 0106 0x46 | f 102 0146 0x66 (bel) 7 0007 0x07 | ' 39 0047 0x27 | G 71 0107 0x47 | g 103 0147 0x67 (bs) 8 0010 0x08 | ( 40 0050 0x28 | H 72 0110 0x48 | h 104 0150 0x68 (ht) 9 0011 0x09 | ) 41 0051 0x29 | I 73 0111 0x49 | i 105 0151 0x69 (nl) 10 0012 0x0a | * 42 0052 0x2a | J 74 0112 0x4a | j 106 0152 0x6a (vt) 11 0013 0x0b | + 43 0053 0x2b | K 75 0113 0x4b | k 107 0153 0x6b (np) 12 0014 0x0c | , 44 0054 0x2c | L 76 0114 0x4c | l 108 0154 0x6c (cr) 13 0015 0x0d | - 45 0055 0x2d | M 77 0115 0x4d | m 109 0155 0x6d (so) 14 0016 0x0e | . 46 0056 0x2e | N 78 0116 0x4e | n 110 0156 0x6e (si) 15 0017 0x0f | / 47 0057 0x2f | O 79 0117 0x4f | o 111 0157 0x6f (dle) 16 0020 0x10 | 0 48 0060 0x30 | P 80 0120 0x50 | p 112 0160 0x70 (dc1) 17 0021 0x11 | 1 49 0061 0x31 | Q 81 0121 0x51 | q 113 0161 0x71 (dc2) 18 0022 0x12 | 2 50 0062 0x32 | R 82 0122 0x52 | r 114 0162 0x72 (dc3) 19 0023 0x13 | 3 51 0063 0x33 | S 83 0123 0x53 | s 115 0163 0x73 (dc4) 20 0024 0x14 | 4 52 0064 0x34 | T 84 0124 0x54 | t 116 0164 0x74 (nak) 21 0025 0x15 | 5 53 0065 0x35 | U 85 0125 0x55 | u 117 0165 0x75 (syn) 22 0026 0x16 | 6 54 0066 0x36 | V 86 0126 0x56 | v 118 0166 0x76 (etb) 23 0027 0x17 | 7 55 0067 0x37 | W 87 0127 0x57 | w 119 0167 0x77 (can) 24 0030 0x18 | 8 56 0070 0x38 | X 88 0130 0x58 | x 120 0170 0x78 (em) 25 0031 0x19 | 9 57 0071 0x39 | Y 89 0131 0x59 | y 121 0171 0x79 (sub) 26 0032 0x1a | : 58 0072 0x3a | Z 90 0132 0x5a | z 122 0172 0x7a (esc) 27 0033 0x1b | ; 59 0073 0x3b | [ 91 0133 0x5b | { 123 0173 0x7b (fs) 28 0034 0x1c | < 60 0074 0x3c | \ 92 0134 0x5c | | 124 0174 0x7c (gs) 29 0035 0x1d | = 61 0075 0x3d | ] 93 0135 0x5d | } 125 0175 0x7d (rs) 30 0036 0x1e | > 62 0076 0x3e | ^ 94 0136 0x5e | ~ 126 0176 0x7e (us) 31 0037 0x1f | ? 63 0077 0x3f | _ 95 0137 0x5f | (del) 127 0177 0x7f ====================================常数值描述vbKeyLButton 1 鼠标左键vbKeyRButton 2 鼠标右键vbKeyCancel 3 CANCELvbKeyMButton 4 鼠标中键vbKeyBack 8 BACKSPACEvbKeyTab 9 TABvbKeyClear 12 CLEARvbKeyReturn 13 ENTERvbKeyShift 16 SHIFTvbKeyControl 17 CTRLvbKeyMenu 18 菜单键vbKeyPause 19 PAUSE vbKeyCapital 20 CAPS LOCK vbKeyEscape 27 ESC vbKeySpace 32 SPACEBAR vbKeyPageUp 33 PAGEUP vbKeyPageDown 34 PAGEDOWN vbKeyEnd 35 END vbKeyHome 36 HOME vbKeyLeft 37 LEFT ARROW vbKeyUp 38 UP ARROW vbKeyRight 39 RIGHT ARROW vbKeyDown 40 DOWN ARROW vbKeySelect 41 SELECT vbKeyPrint 42 PRINT SCREEN vbKeyExecute 43 EXECUTE vbKeySnapshot 44 SNAP SHOT vbKeyInser 45 INS vbKeyDelete 46 DEL vbKeyHelp 47 HELP vbKeyNumlock 144 NUM LOCKvbKeyA 65 AvbKeyB 66 BvbKeyC 67 CvbKeyD 68 DvbKeyE 69 EvbKeyF 70 FvbKeyG 71 GvbKeyH 72 HvbKeyI 73 IvbKeyJ 74 JvbKeyK 75 KvbKeyL 76 LvbKeyM 77 MvbKeyN 78 NvbKeyO 79 OvbKeyP 80 PvbKeyQ 81 QvbKeyR 82 RvbKeyS 83 SvbKeyT 84 TvbKeyU 85 UvbKeyV 86 VvbKeyW 87 WvbKeyX 88 XvbKeyY 89 YvbKeyZ 90 ZvbKey0 48 0vbKey1 49 1vbKey2 50 2vbKey3 51 3vbKey4 52 4vbKey5 53 5vbKey6 54 6vbKey7 55 7vbKey8 56 8vbKey9 57 9数字小键盘上的键vbKeyNumpad0 96 0vbKeyNumpad1 97 1vbKeyNumpad2 98 2vbKeyNumpad3 99 3vbKeyNumpad4 100 4vbKeyNumpad5 101 5vbKeyNumpad6 102 6vbKeyNumpad7 103 7vbKeyNumpad8 104 8vbKeyNumpad9 105 9vbKeyMultiply 106 乘号(*)vbKeyAdd 107 加号(+)vbKeySeparator 108 ENTER(在数字小键盘上)vbKeySubtract 109 减号(-)vbKeyDecimal 110 小数点(.)vbKeyDivide 111 除号(/)功能键vbKeyF1 112 F1vbKeyF2 113 F2vbKeyF3 114 F3vbKeyF4 115 F4vbKeyF5 116 F5vbKeyF6 117 F6vbKeyF7 118 F7vbKeyF8 119 F8vbKeyF9 120 F9vbKeyF10 121 F10vbKeyF11 122 F11vbKeyF12 123 F12vbKeyF13 124 F13vbKeyF14 125 F14vbKeyF15 126 F15vbKeyF16 127 F16类别:c#密码 | | 添加到搜藏 | 分享到i贴吧 | 浏览(46) | 评论 (0)上一篇:将图片转换成二进制下一篇:多文件上传测试最近读者:登录后,您就出现在这里。

常用键的ascii码

常用键的ascii码
小键盘4:VK_NUMPAD0 (100)
小键盘5:VK_NUMPAD0 (101)
小键盘6:VK_NUMPAD0 (102)
小键盘7:VK_NUMPAD0 (103)
小键盘8:VK_NUMPAD0 (104)
小键盘9:VK_NUMPAD0 (105)
小键盘.:VK_DECIMAL (110)
小键盘*:VK_MULTIPLY (106)
K
107
k
12
FF
44
,
76
L
108
l
13
CR
45
-
77
M
109
m
14
SO
46
.
78
N
110
n
15
SI
47
/
79
O
111
o
16
DLE
48
0
80
P
112
p
17
DCI
49
1
81
Q
113
q
18
DC2
50
2
82
R
114
r
19
DC3
51
3
83
X
115
s
20
DC4
52
4
84
T
116
t
21
NAK
53
5
85
U
117
VT垂直制表
SYN空转同步
SOH标题开始
FF走纸控制
ETB信息组传送结束
STX正文开始
CR回车
CAN作废
ETX正文结束
SO移位输出
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

键盘上各键位所对应的ASCII码详单(键盘键位表)
常数值描述
vbKey LButton 0x1鼠标左键
vbKey RButton 0x2 鼠标右键
vbKey Cancel 0x3 CANCEL 键vbKey MButton 0x4鼠标中键
vbKey Back 0x8 BACKSPACE 键vbKey Tab 0x9TAB 键
vbKey Clear 0x C CLEAR 键
vbKey Return 0x D ENTER 键
vbKey Shift 0x10SHIFT 键
vbKey Control 0x11CTRL 键
vbKey Menu 0x12 MENU 键
vbKey Pause 0x13PAUSE 键
vbKey Capital 0x14 CAPS LOCK 键vbKey Escape 0x1B ESC 键
vbKey Space 0x20SPACEBAR 键vbKey PageUp 0x21PAGE UP 键vbKey PageDown 0x22PAGE DOWN 键vbKey End 0x23 END 键
vbKey Home 0x24HOME 键
vbKey Left 0x25LEFT ARROW 键vbKey Up 0x26UP ARROW 键vbKey Right 0x27 RIGHT ARROW 键vbKey Down 0x28DOWN ARROW 键vbKey Select 0x29SELECT 键
vbKey Print 0x2A PRINT SCREEN 键vbKey Execute 0x2B EXECUTE 键vbKey Snapshot 0x2C SNAPSHOT 键vbKey Insert 0x2D INSERT 键
vbKey Delete 0x2E DELETE 键
vbKey Help 0x2F HELP 键
vbKey Numlock 0x90NUM LOCK 键
A至Z 键与A-Z字母的ASCII 码相同:
常数值描述
vbKey A 65 A 键
vbKey B 66 B 键
vbKey C 67 C 键
vbKey D 68 D 键
vbKey E 69 E 键
vbKey F 70 F 键
vbKey G 71G 键
vbKey H 72H 键
vbKey I 73I 键
vbKey J 74 J 键
vbKey K 75 K 键
vbKey L 76L 键
vbKey M 77M 键
vbKey N 78N 键
vbKey O 79 O 键
vbKey P 80P 键
vbKey Q 81 Q 键
vbKey R 82R 键
vbKey S 83S 键
vbKey T 84 T 键
vbKey U 85 U 键
vbKey V 86V 键
vbKey W 87W 键
vbKey X 88X 键
vbKey Y 89 Y 键
vbKey Z 90 Z 键
0至9键与数字0-9的ASCII 码相同:
常数值描述
vbKey0 480 键vbKey1 49 1 键vbKey2 50 2 键vbKey3 51 3 键vbKey4 52 4 键vbKey5 53 5 键vbKey6 54 6 键vbKey7 557 键vbKey8 568 键vbKey9 579 键
下列常数代表数字键盘上的键:
常数值描述
vbKey Numpad0 0x60键
vbKey Numpad1 0x61 键
vbKey Numpad2 0x62 2 键
vbKey Numpad3 0x63键
vbKey Numpad4 0x64键
vbKey Numpad5 0x65键
vbKey Numpad6 0x66键
vbKey Numpad7 0x677 键
vbKey Numpad8 0x68键
vbKey Numpad9 0x69键
vbKey Multiply 0x6A MULTIPLICATION SIGN (*) 键vbKey Add 0x6B PLUS SIGN (+) 键
vbKey Separator 0x6C ENTER 键
vbKey Subtract 0x6D MINUS SIGN (-) 键
vbKey Decimal 0x6E DECIMAL POINT (.) 键vbKey Divide 0x6F DIVISION SIGN (/) 键
下列常数代表功能键:
常数值描述
vbKey F1 0x70 F1 键
vbKey F2 0x71 F2 键
vbKey F3 0x72 F3 键
vbKey F4 0x73 F4 键
vbKey F5 0x74 F5 键
vbKey F6 0x75 F6 键
vbKey F7 0x76 F7 键
vbKey F8 0x77 F8 键
vbKey F9 0x78 F9 键
vbKey F10 0x79 F10 键
vbKey F11 0x7A F11 键
vbKey F12 0x7B F12 键
vbKey F13 0x7C F13 键
vbKey F14 0x7D F14 键
vbKey F15 0x7E F15 键
vbKey F16 0x7F F16 键。

相关文档
最新文档