Microsoft KB Archive/79603

= FIX: SendKeys Causes Erratic Mouse Behavior on IBM PS/2 =

Article ID: 79603

Article Last Modified on 12/12/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Standard Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 1.0 Standard Edition
 * Microsoft Windows 3.0 Standard Edition

-



This article was previously published under Q79603



SYMPTOMS
When a Visual Basic program executes the SendKeys statement on an IBM PS/2 computer, Windows behaves erratically when you move the mouse until it is shut down.



CAUSE
The erratic behavior is caused by continuous phantom mouse clicks and mouse movements.



STATUS
Microsoft has confirmed this to be a bug in Microsoft Windows version 3.0. This bug was corrected in Microsoft Windows version 3.1.



MORE INFORMATION
If you are running Microsoft Windows 3.0 on a PS/2 computer and you press the NUM LOCK key while moving the mouse, the mouse events become erratic. The Visual Basic SendKeys statement affects the NUM LOCK key, so this problem results -- just as if NUM LOCK were pressed.

When you move the mouse, phantom Click events result in symptoms such as applications unexpectedly launching, or the mouse pointer jumping around the screen.

This problem has been reported to happen on the IBM PS/2 Model 50, Model 50z, Model 60, and Model 80.

Additional query words: noupd 3.00 3.10 NUMLOCK

Keywords: kbbug kbfix KB79603

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.