Search This Blog

Thursday, July 18, 2013

Asc Method Visual Basic

VB.NET > Functions > ASC

Asc Method returns an Integer value of character code corresponding to a character.

Example:

Dim IntCode As Integer
IntCode = Asc("A") '65
IntCode = Asc("a") '97
IntCode = Asc("@") '64
IntCode = Asc("?") '93