John said:
where are the following key codes in System.Windows.Forms.Keys
: ; * = . , ' "
thanks
Hi John,
There are oem keys and will vary from keyboard to keyboard. To find out
what those keys are on your keyboard trap the KeyDown event and output the
received keys as you type the keyboard.
For comparison on my keyboard (Norwegian) those map to
OemPeriod, Oemcomma, OemQuestion, D0, OemPeriod, Oemcomma, OemQuestion, D2
if I switch to English keyboard they will map to
Oem1, Oem1, D8, OemPlus, OemComma, OemPeriod, Oem7, Oem7
You may use the Keys enumeration to map keyboard key behaviour, but you
shouldn't map the keys to specific characters as that will depend on the
keyboard layout.