I'VE POSTED 4 MESSAGES, AND !!!NEVER!!!
GOT ANY REPLIES!!!!! ARE THEY THAT HARD
TO ANSWER?!?!?!?!?!?!?!?
Printable View
I'VE POSTED 4 MESSAGES, AND !!!NEVER!!!
GOT ANY REPLIES!!!!! ARE THEY THAT HARD
TO ANSWER?!?!?!?!?!?!?!?
Hi,
Maybe you should try asking nicely.
I did ask nicely... and no one replied...
is it because im black??? ;)
What was the question?
You all know that each key has 3 ascii code, how can I see
all the ascii codes for, say the key: "q" ??
(I want to press 'q' and get the 3 ascii codes in a message box)
Must be a way right?
Some some patience.
Sorry... I've been stressed because of this
project....
What do you mean by 3 ASCII codes? The letter q might have 2, one for upper case (Q) and one for lower case(q), but what is the third?
You can convert strings into lower/uppercase using the LCase/UCase functions.
------------------
John Percival
Editor, VB-World.net
[email protected]
Will im from israel and on my keyboard there is a third letter... so what can i do to see
all the ascii codes for a specific key on the
keyboard.
Just write: Asc("q")
Please now everybody! Try to answer my question!!! http://www.vb-world.net/ubb/Forum1/HTML/015920.html
asc("q") will return onely one ascii code
i want what are the 3 ascii codes returned
if u press "q" ("q" is an example)
i.e.
if i choose the letter A it should return:
65, 97, and 249
249 is a hebrew letter.
NP. the def. between A and a is 32 and
the def between 249 and 65 is 84, but
A is the 1st in the english alphabeta
and the 249 letter come 1 before the last
letter in hebrew.
Well its almost the same in Sweden (where i live)...
Asc(o)
Asc(O)
Asc(Ö)
Otherwise I dont know what you meen...
I'll give an example:
say i have a function for windows call chrLangAscii and it takes a char and it puts the ascii's 3 global variables (integers).ok?
/* now i use: */
chrLangAscii("A")
/* and I get */
asciiI = 65
asciiII = 97
asciiIII = 249
I, II and III are all the possible asciis
can be generated if u press A.
is that a better description?
Hi Mansour
I think it has something to do with Code page thing.
when your keyboard is set to english: Alt+Left Shift and you press the A you'll get the ascii 65 . However, if you change your keyboard Alt+Right Shift it'll give you 249 .
Sorry. for not offering more help.
Good Luck.
Put this in the keydown_event of a textbox:
Debug.print Chr$(KeyCode) & " - " & KeyCode
and in the keypress event:
Debug.print Chr$(KeyAscii) & " - " & KeyAscii
And check your debug window...
Ok... Thats cleared out now! Isnt it time to help me! http://www.vb-world.net/ubb/Forum1/HTML/015932.html
Thanks Crazy D
That might help... but still i'm looking for
this little tip... I know now that both have
the same KeyCode, however I have to determine
which ascii to send depending on the Language.
thanks again Crazy D
Thanks Crazy D
That might help... but still i'm looking for
this little tip... I know now that both have
the same KeyCode, however I have to determine
which ascii to send depending on the Language.
thanks again Crazy D
Ask the little israeli genius named Yonnatan.
He must know!