|
-
Feb 21st, 2000, 05:15 PM
#1
Thread Starter
Junior Member
I'VE POSTED 4 MESSAGES, AND !!!NEVER!!!
GOT ANY REPLIES!!!!! ARE THEY THAT HARD
TO ANSWER?!?!?!?!?!?!?!?
-
Feb 21st, 2000, 06:08 PM
#2
Hyperactive Member
Hi,
Maybe you should try asking nicely.
-
Feb 21st, 2000, 06:35 PM
#3
Thread Starter
Junior Member
I did ask nicely... and no one replied...
is it because im black??? 
-
Feb 21st, 2000, 06:49 PM
#4
Hyperactive Member
-
Feb 21st, 2000, 06:52 PM
#5
Thread Starter
Junior Member
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?
-
Feb 21st, 2000, 07:02 PM
#6
-
Feb 21st, 2000, 07:08 PM
#7
Thread Starter
Junior Member
Sorry... I've been stressed because of this
project....
-
Feb 21st, 2000, 07:11 PM
#8
Fanatic Member
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]
-
Feb 21st, 2000, 07:21 PM
#9
Thread Starter
Junior Member
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.
-
Feb 21st, 2000, 07:29 PM
#10
New Member
Just write: Asc("q")
Please now everybody! Try to answer my question!!! http://www.vb-world.net/ubb/Forum1/HTML/015920.html
-
Feb 21st, 2000, 07:36 PM
#11
Thread Starter
Junior Member
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.
-
Feb 21st, 2000, 07:43 PM
#12
New Member
Well its almost the same in Sweden (where i live)...
Asc(o)
Asc(O)
Asc(Ö)
Otherwise I dont know what you meen...
-
Feb 21st, 2000, 07:51 PM
#13
Thread Starter
Junior Member
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?
-
Feb 21st, 2000, 08:35 PM
#14
Addicted Member
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.
-
Feb 21st, 2000, 08:55 PM
#15
Hyperactive Member
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...
-
Feb 21st, 2000, 09:08 PM
#16
New Member
Ok... Thats cleared out now! Isnt it time to help me! http://www.vb-world.net/ubb/Forum1/HTML/015932.html
-
Feb 21st, 2000, 09:15 PM
#17
Thread Starter
Junior Member
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
-
Feb 21st, 2000, 09:15 PM
#18
Thread Starter
Junior Member
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
-
Feb 22nd, 2000, 01:53 AM
#19
Hyperactive Member
Ask the little israeli genius named Yonnatan.
He must know!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|