Rabu, 13 Desember 2023

Visual Basic KeyAscii


VB KeyAscii Values

Visual Basic KeyAscii Values can range from 0 to 255.
Here is a chart which shows all possible KeyAscii values along with the character which they represent.
To type out any of these characters without pressing the actual character you can do this...
Hold down the left ALT key on your keyboard and using the number pad on the right of your keyboard type in the corresponding ASCII value.  For instance, typing ALT+66 will yield B. For numbers above 127 use "0 + the number".
For instance to find the character which corresponds to KeyAscii value 134 you would type ALT+0134 which yields †.
The most ordinary KeyAscii use in KeyPress event.

VB KeyAscii Chart

Note:
KeyAscii values 0 to 31 are non-printable and values 128-255 are considered "Extended". These "extended" codes may vary in appearance from computer to computer (and from font to font), so use with caution.

0    NUL (null) / Ctrl+Shift+@
1    SOH (start of heading) / ☺ / Ctrl+A
2    STX (start of text) / ☻ / Ctrl+B
3    ETX (end of text) / ♥ / Ctrl+C
4    EOT (end of transmission) / ♦ / Ctrl+D
5    ENQ (enquiry) / ♣ / Ctrl+E
6    ACK (acknowledge) / ♠ / Ctrl+F
7    BEL (bell) / • / Ctrl+G
8    BS (backspace) / ◘ / Ctrl+H
9    TAB (horizonal tab) / ○ / Ctrl+I
10    LF (NL line feed, new line) / ◙ / Ctrl+J
11    VT (vertical tab) / ♂ / Ctrl+K
12    FF (NP form feed, new page) / ♀ / Ctrl+L
13    CR (carriage return) / ♪ / Ctrl+M
14    SO (shift out) / ♫ / Ctrl+N
15    SI (shift in) / ☼ / Ctrl+O
16    DLE (data line escape) / ► / Ctrl+P
17    DC1 (device control 1) / ◄ / Ctrl+Q
18    DC2 (device control 2) / ↕ / Ctrl+R
19    DC3 (device control 3) / ‼ / Ctrl+S
20    DC4 (device control 4) / ¶ / Ctrl+T
21    NAK (negative acknowledge) / § / Ctrl+U
22    SYN (synchronous idle) / ▬ / Ctrl+V
23    ETB (end of trans. block) / ↨ / Ctrl+W
24    CAN (cancel) / ↑ / Ctrl+X
25    EM (end of medium) / ↓ / Ctrl+Y
26    SUB (substitute) / → / Ctrl+Z
27    ESC (escape) / ← / Ctrl+[
28    FS (file separator) / ∟ / Ctrl+\
29    GS (group separator) / ↔ / Ctrl+]
30    RS (record separator) / ▲ / Ctrl+Shift+^
31    US (unit separator) / ▼ / Ctrl+Shift+_
32    Space
33    !    Exclamation Mark
34    "    Double quotes (or speech marks)
35    #    Number sign
36    $    Dollar
37    %    Percent sign
38    &    Ampersand
39    '    Apostrophe
40    (    Parenthesis, Opening Round Bracket - British English
41    )    Parenthesis, Closing Round Bracket - British English
42    *    Asterisk
43    +    Plus sign
44    ,    Comma
45    -    Hyphen , Minus Sign
46    .    Dot, Full stop, Period
47    /    Slash or Divide
48    0    Zero number
49    1    One number
50    2     Two number
51    3     Three number
52    4     Four number
53    5     Five number
54    6     Six number
55    7     Seven number
56    8     Eight number
57    9     Nine number
58    :     Colon
59    ;     Semi Colon
60    <     Less than or Open Angled Bracket or Chevrons
61    =     Equal
62    >     Greater than or Closing Angled Bracket or Chevrons
63    ?     Question mark
64    @     At sign
65    A    Uppercase A
66    B     Uppercase B
67    C     Uppercase C
68    D     Uppercase D
69    E     Uppercase E
70    F     Uppercase F
71    G     Uppercase G
72    H     Uppercase H
73    I     Uppercase I
74    J     Uppercase J
75    K     Uppercase K
76    L     Uppercase L
77    M     Uppercase M
78    N     Uppercase N
79    O     Uppercase O
80    P     Uppercase P
81    Q     Uppercase Q
82    R     Uppercase R
83    S     Uppercase S
84    T     Uppercase T
85    U     Uppercase U
86    V     Uppercase V
87    W     Uppercase W
88    X     Uppercase X
89    Y     Uppercase Y
90    Z     Uppercase Z
91    [     Opening Bracket or Square Brackets or Box Bracket
92    \     Backslash
93    ]     Closing bracket or Square Brackets or Box Bracket
94    ^     Caret - circumflex
95    _     Underscore
96    `     Backtick or Backquote, Grave, or Grave Accent
97    a     Lowercase a
98    b     Lowercase b
99    c     Lowercase c
100    d     Lowercase d
101    e     Lowercase e
102    f     Lowercase f
103    g     Lowercase g
104    h     Lowercase h
105    i     Lowercase i
106    j     Lowercase j
107    k     Lowercase k
108    l     Lowercase l
109    m     Lowercase m
110    n     Lowercase n
111    o     Lowercase o
112    p     Lowercase p
113    q     Lowercase q
114    r     Lowercase r
115    s     Lowercase s
116    t     Lowercase t
117    u     Lowercase u
118    v     Lowercase v
119    w     Lowercase w
120    x     Lowercase x
121    y     Lowercase y
122    z     Lowercase z
123    {     Opening brace or Curly Bracket
124    |     Vertical bar
125    }     Closing brace or Curly Bracket
126    ~     Equivalency sign - Tilde
127*    DEL / CTRL-Backspace     Delete
128    €     Euro sign
129   
130    ‚     Single low-9 quotation mark
131    ƒ     Latin small letter f with hook
132    „     Double low-9 quotation mark
133    …    Horizontal ellipsis
134    †     Dagger
135    ‡     Double dagger
136    ˆ     Modifier letter circumflex accent
137    ‰     Per mille sign
138    Š     Latin capital letter S with caron
139    ‹     Single left-pointing angle quotation
140    Œ     Latin capital ligature OE
141    •    
142    Ž     Latin capital letter Z with caron
143    •
144    •
145    ‘     Left Single Quotation Mark or Smart Quotes or Curly Quotes
146    ’     Right Single Quotation Mark or Smart Quotes or Curly Quotes
147    “     Left Double Quotation Mark or Smart Quotes or Curly Quotes
148    ”     Right Double Quotation Mark or Smart Quotes or Curly Quotes
149    •     Bullet
150    –     En dash
151    —     Em dash
152    ˜     Small tilde
153    ™     Trade mark sign
154    š     Latin small letter S with caron
155    ›     Single right-pointing angle quotation mark
156    œ     Latin small ligature oe
157   
158    ž     Latin small letter z with caron
159    Ÿ     Latin capital letter Y with diaeresis
160    NBSP    Non-breaking space
161    ¡     Inverted exclamation mark
162    ¢     Cent sign
163    £     Pound sign
164    ¤     Currency sign
165    ¥     Yen sign
166    ¦     Pipe, Broken Vertical Bar
167    §     Section sign
168    ¨     Spacing diaeresis - umlaut
169    ©     Copyright sign
170    ª    Feminine Ordinal Indicator
171    «     Left Double Angle Quotes or Guillemet or Double Chevrons
172    ¬     Negation
173    ­SHY    ­Soft hyphen
174    ®     Registered Trade Mark Sign
175    ¯     Spacing macron - overline
176    °     Degree sign
177    ±     Plus-or-minus sign
178    ²     Superscript Two - Squared
179    ³     Superscript Three - Cubed
180    ´     Acute Accent - Spacing Acute
181    µ     Micro Sign
182    ¶     Pilcrow sign - paragraph sign
183    ·     Middle dot - Georgian comma
184    ¸     Spacing Cedilla
185    ¹     Superscript one
186    º     Masculine Ordinal Indicator
187    »     Right Double Angle Quotes
188    ¼     Fraction One Quarter
189    ½     Fraction One Half
190    ¾     Fraction Three Quarter
191    ¿     Inverted Question Mark
192    À     Latin Capital Letter A With Grave
193    Á     Latin Capital Letter A With Acute
194    Â     Latin Capital Letter A With Circumflex
195    Ã     Latin Capital Letter A With Tilde
196    Ä     Latin Capital Letter A With Diaeresis
197    Å     Latin Capital Letter A With Ring Above
198    Æ     Latin Capital Letter AE
199    Ç     Latin Capital Letter C With Cedilla
200    È     Latin Capital Letter E With Grave
201    É     Latin Capital Letter E With Acute
202    Ê     Latin Capital Letter E With Circumflex
203    Ë     Latin Capital Letter E With Diaeresis
204    Ì     Latin Capital Letter I With Grave
205    Í     Latin Capital Letter I With Acute
206    Î     Latin Capital Letter I With Circumflex
207    Ï     Latin Capital Letter I With Diaeresis
208    Ð     Latin Capital Letter ETH
209    Ñ     Latin Capital Letter N With Tilde
210    Ò     Latin Capital Letter O With Grave
211    Ó     Latin Capital Letter O With Acute
212    Ô     Latin Capital Letter O With Circumflex
213    Õ     Latin Capital Letter O With Tilde
214    Ö    Latin Capital Letter O With Diaeresis
215    ×    Multiplication Sign
216    Ø     Latin Capital Letter O With Slash
217    Ù     Latin Capital Letter U With Grave
218    Ú     Latin Capital Letter U With Acute
219    Û     Latin Capital Letter U With Circumflex
220    Ü     Latin Capital Letter U With Diaeresis
221    Ý     Latin Capital Letter Y With Acute
222    Þ     Latin Capital Letter Thorn
223    ß     Latin Small Letter Sharp S - Ess-Zed
224    à     Latin Small Letter A With Grave
225    á     Latin Small Letter A With Acute
226    â     Latin Small Letter A With Circumflex
227    ã     Latin Small Letter A With Tilde
228    ä     ä Latin Small Letter A With Diaeresis
229    å     Latin Small Letter A With Ring Above
230    æ     Latin Small Letter ae
231    ç     Latin Small Letter c With Cedilla
232    è     Latin Small Letter e With Grave
233    é     Latin Small Letter e With Acute
234    ê     Latin Small Letter e With Circumflex
235    ë     Latin Small Letter e With Diaeresis
236    ì     Latin Small Letter i With Grave
237    í     Latin Small Letter i With Acute
238    î     Latin Small Letter i With Circumflex
239    ï
240    ð     Latin small Letter Eth
241    ñ     Latin Small Letter n With tilde
242    ò     Latin Small Letter o With Grave
243    ó     Latin Small Letter o With Acute
244    ô     Latin Small Letter o With Circumflex
245    õ     Latin Small Letter o With Tilde
246    ö     Latin Small Letter o With Diaeresis
247    ÷     Division Sign
248    ø     Latin Small Letter o With Slash
249    ù     Latin Small Letter u With Grave
250    ú     Latin Small Letter u With Acute
251    û     Latin Small Letter u With Circumflex
252    ü     Latin Small Letter u With Diaeresis
253    ý     Latin Small Letter y With Acute
254    þ     Latin small letter thorn
255    ÿ     Latin Small Letter y With Diaeresis

* ASCII code 127 has the code DEL. Under MS-DOS, this code has the same effect has ASCII 8 (BS). The DEL code can be generated by the CTRL + BKSP key. 

Some characters aren't supported by Microsoft Windows (characters 129, 141, 143, 144, and 157).


computer programming, programming language, software development, keyboard, computer, rreference sheet, reference chart

Bibliography:

http://thecodeforyou.blogspot.com/
https://learn.microsoft.com/
https://www.wwu.edu/ ( university )
https://www.ascii-code.com/
https://theasciicode.com.ar/

Tidak ada komentar:

Posting Komentar

Various Other Posts