English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-06-28 03:27:53 · 5 answers · asked by Palestini Detective 4 in Computers & Internet Programming & Design

5 answers

***** FIND ANY ASCII WITH THIS LOGIC *****

Create two text boxes in VB. Lets say, TextBox1 & TextBox2. Write the following code for TextBox1 KeyPress event.

Private Sub TextBox1_KeyPress(KeyAscii As Integer)
TextBox2.Text = KeyAscii
End Sub

Now run the program and press any key keeping your cursor in TextBox1, this way you'll find any ASCII value of the keyboard keys. If you'll press any arrow key, the TextBox2 will show appropriate ASCII value.

Hope this helps.

2007-06-28 04:59:30 · answer #1 · answered by Vic 3 · 0 1

The ASCII standard is for display character translation.
Function keys like the arrow keys and the enter keys do not have a translation. Your programming language usually has someway of detecting these keys. If not then you will have to use the numbers 8, 4, 6 and 2.

2007-06-28 10:50:51 · answer #2 · answered by AnalProgrammer 7 · 2 0

The arrows are in unicode. They are decimal 8592, 8593, 8594, and 8595.

←
↑
→
↓

2007-06-28 10:52:10 · answer #3 · answered by Barkley Hound 7 · 1 0

I think you can find the answer by using your character map. It's in unicode

2007-06-28 10:34:45 · answer #4 · answered by users_are_stupid 4 · 0 0

doesn't appear to be in ASCII

http://ascii.cl/htmlcodes.htm

2007-06-28 10:36:39 · answer #5 · answered by words_smith_4u 6 · 0 0

fedest.com, questions and answers