PC Review


Reply
Thread Tools Rate Thread

Calculate Ascii Value

 
 
Microsoft News
Guest
Posts: n/a
 
      16th Jul 2004
Hoe to calculate ASCII value of a character


 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      16th Jul 2004
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


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      16th Jul 2004
* "Microsoft News" <(E-Mail Removed)> 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/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert non-ISO extended-ASCII to ISO ascii dotNeter Microsoft Dot NET 1 29th Jun 2006 06:53 PM
How can I convert high ASCII to low ASCII Friso Wiskerke Microsoft VB .NET 6 7th Jan 2005 05:52 PM
DOS ASCII Code vs Windows ASCII Code??? Daniel Olivares Microsoft Windows 2000 Developer 0 6th Apr 2004 11:02 PM
How to calculate hide records while calculate their totals Ty Archer Microsoft Access Reports 1 4th Dec 2003 01:29 AM
Re: ASCII Low Values (Ascii 0) to a string Manfred Suttorp Microsoft Dot NET Framework 2 25th Jul 2003 02:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:07 PM.