Run time error on keypress event

johiot

New member
Local time
Today, 04:46
Joined
May 10, 2002
Messages
8
Hello .
I used thiw code on the KeyPress event
KeyAscii = Asc(UCase(Chr$(KeyAscii)))
I had no problem in Win 98.Now in Win Xp I got the message:
"Run time error '5'
Invalid procedure call or argument."

Does anyone know how to solve this;
Thanks
 

Users who are viewing this thread

Back
Top Bottom