how to get character code
14,984
Solution 1
From MSDN:
Public Function Chr(ByVal CharCode As Integer) As Char
Public Function ChrW(ByVal CharCode As Integer) As Char
Solution 2
From Unicode code point (not, strictly speaking, ASCII) to character: Chr
and ChrW
.
Inverse direction: Asc
and AscW
.
To get the character representation in specific encodings you need to use the methods of the System.Text.Encoding
class.
Author by
John
Updated on November 20, 2022Comments
-
John over 1 year
hello Is it possible to get character character code in
Visual Basic 2008
and to get character from character code ( Without form1_keyDown or KeyUp)?.What i need is two
functions
, first to getcharacter code
of acharacter
, and second to getcharacter
fromcharacter code
.thank you.