By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

Calculate Ascii Value

P: n/a
Hoe to calculate ASCII value of a character
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

dim MyCharacter as integer = Asc(mychar)
or
dim MyCharacter as integer = AscW(mychar)

http://msdn.microsoft.com/library/de...l/vafctAsc.asp

I hope this helps?

Cor
Nov 20 '05 #2

P: n/a
* "Microsoft News" <lo*******@yahoo.com> scripsit:
Hoe to calculate ASCII value of a character


\\\
MsgBox(Convert.ToInt32("A"c))
MsgBox(AscW("A"))
MsgBox(System.Text.Encoding.Unicode.GetBytes("A")( 0))
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.