a few more "painless" things to try:
1) run this DBPRO code (
exe attached incase you don't have dbpro):
set display mode 400,300,32
set window on
set window size 400,300
set window position (desktop width()-400)/2, (desktop height()-300)/2
msg1$="ESC ENABLED"
msg2$="ESC DISABLED"
anykey$="Press Any Key To Toggle ESC key"
disable escapekey
toggle = -1
msg$ = msg2$
lastkey = timer()
do
cls
keypress = scancode()
if timer()-lastkey > 300 and keypress <> 0 and keypress <> 1
toggle = toggle*-1
if toggle = 1
msg$ = msg1$
enable escapekey
else
msg$ = msg2$
disable escapekey
endif
lastkey = timer()
endif
center text 200,100,str$(keypress)
center text 200,125,msg$
center text 200,150,anykey$
loop
this should help to see if the escape key is being read at all. if it is, you might have a virus that's effectively disabling it or a setting somewhere that's telling windows to treat ESC as something other than "escape".
1a) look for
On-Screen Keyboard (under Control Panel/Ease of Use). run the exe above (or any program for that matter) and click ESC to test.
2) un-install or disable keyboard drivers and use windows generic keyboard settings.
2a) if you have access to another keyboard, plug it in (without installing drivers) to test.
oops: code & exe fixed
Virtual Nomad @ California, USA . DBPro V7.5
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit