We have an application written in Visual Basic 5 that runs great on Windows 95 and Windows 98. The problem is that now we want to change to Windows 2000 and after a short time of my users entering data keyboard input becomes disabled. This seems to happen when the NUM LOCK key is down and the user hits the ENTER key on the numeric keypad. Hitting the ENTER key on the alpha/numeric part of the keyboard with the NUM LOCK button in either position (up or down) doesn't cause the keyboard input to be stopped. In order to fix the problem, a restart is required. Mouse input is not affected. There is code in the application that says if KEYASCII = 13 (the result of pressing either ENTER key) that a TAB keypress is sent. This code is very straightforward and doesnot seem to be causing any problems. The problem has only come up now that we want to move to Windows 2000.

Any ideas?