Quick Ascii question.

vBGameMaker
11-11-2004, 09:43 PM
Hi, could anybody please tell me the ascii keycodes for Insert and Delete?

Diurnal
11-11-2004, 10:15 PM
They do not exist. To use these keys, use the KeyCode constants vbKeyInsert and vbKeyDelete in the object's KeyDown or KeyUp event.

vBGameMaker
11-11-2004, 10:21 PM
Ok thanks


What about the keycodes for Hypen and Underscore?

Diurnal
11-11-2004, 10:29 PM
Look up "KeyCode Constants" in MSDN although I don't see a listing for the hyphen. It debugs out to 189 in decimal. To get the underscore key, you have to combine it with the shift arguement of the KeyDown or KeyUp event.

Epo
11-11-2004, 11:32 PM
www.asciitable.com shows the values for all available ASCII conversions

Diurnal
11-11-2004, 11:41 PM
There are also several nice tables in MSDN under "ASCII".

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum