Click here to Skip to main content
15,888,124 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
VB
Dim keyascii As String = e.KeyChar
      Dim chback As String
      chback = Asc(e.KeyChar)
      If chback = 8 Or keyascii >= "0" And keyascii <= "9" Or keyascii = "." Then
          e.Handled = False
      Else
          e.Handled = True
      End If
Posted

A simple Google search of "What is ASCII" would give you this[^].
 
Share this answer
 
Acronym for the American Standard Code for Information Interchange. Pronounced ask-ee, ASCII is a code for representing English characters as numbers, with each letter assigned a number from 0 to 127. For example, the ASCII code for uppercase M is 77. Most computers use ASCII codes to represent text, which makes it possible to transfer data from one computer to another.

Source: http://www.webopedia.com/TERM/A/ASCII.html
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900