Hi,
I tried these alreaddy, but they don't work...
For instance:
The 2 upper left keys on my keyboard (under the Esc-key) are (I'm using an
Belgian Azerty): "²" and "&".
What I get for them is:
"²":
- KeyCode = 222 = Keys.OemQuotes
- Convert.ToChar(e.KeyCode) = "Ž"c (I don't even knwo the name of this sign,
I hope it shows up in the newsreader...)
- Asc(e.KeyCode) = AscW(e.KeyCode) = 50
"&":
- KeyCode = 49 = Keys.D1
- Convert.ToChar(e.KeyCode) = "1"c (If I do Shift + ThisKey then I get
indeed "1", but I did it without the Shift...)
- Asc(e.KeyCode) = AscW(e.KeyCode) = 52
Anybody has any idea??? I'm really stuck on this :-(
"Stephany Young" <noone@localhostwrote in message
news:uK**************@TK2MSFTNGP02.phx.gbl...
No. Asc(Keys.Oem1) will return a byte. You need AscW(Keys.Oem1) to
return a char.
"Stuart Nathan" <st***********@homecall.co.ukwrote in message
news:u9**************@TK2MSFTNGP06.phx.gbl...
>or even Asc(Keys.Oem1)