C Cor Ligthert Jul 16, 2004 #2 Hi, dim MyCharacter as integer = Asc(mychar) or dim MyCharacter as integer = AscW(mychar) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vafctAsc.asp I hope this helps? Cor
Hi, dim MyCharacter as integer = Asc(mychar) or dim MyCharacter as integer = AscW(mychar) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vafctAsc.asp I hope this helps? Cor
H Herfried K. Wagner [MVP] Jul 16, 2004 #3 * "Microsoft News said: Hoe to calculate ASCII value of a character Click to expand... \\\ MsgBox(Convert.ToInt32("A"c)) MsgBox(AscW("A")) MsgBox(System.Text.Encoding.Unicode.GetBytes("A")(0)) ///
* "Microsoft News said: Hoe to calculate ASCII value of a character Click to expand... \\\ MsgBox(Convert.ToInt32("A"c)) MsgBox(AscW("A")) MsgBox(System.Text.Encoding.Unicode.GetBytes("A")(0)) ///