Microsoft KB Archive/254465
Article ID: 254465
Article Last Modified on 7/6/2007
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q254465
When you use the Microsoft Intellimouse with top-level forms, you may receive the following error message:
This occurs with versions of Point32.exe that shipped before IntelliPoint 3.0.
Download the latest versions of the Microsoft Mouse drivers at the following Microsoft Web site:
NOTE: It appears that this problem can also be resolved by removing the Mswheel.exe file on systems with the older software.
Steps to Reproduce Behavior
To reproduce this behavior, you must have Microsoft Windows 98 installed, and a version of Point32.exe prior to 3.00.0307. (Note that version 14 is prior to 3.00.0307.)
- Create a new project (TopForm.pjx).
Paste the following code in a .prg file (TopForm.prg) in TopForm.pjx:
loForm = CREATEOBJECT("frmTopLevel") loForm.Show() READ EVENTS DEFINE CLASS frmTopLevel AS form Height = 106 Width = 264 AutoCenter = .T. Caption = "Top-Level Form" Name = "frmTopLevel" ShowWindow = 2 ADD OBJECT lblNote AS label WITH ; Caption = "Someone ought to open up a window!", ; Height = 17, ; Left = 36, ; Top = 24, ; Width = 209, ; Name = "lblNote" ADD OBJECT cmdExit AS commandbutton WITH ; Top = 60, ; Left = 156, ; Height = 27, ; Width = 84, ; Caption = "Exit", ; Name = "cmdExit" PROCEDURE QueryUnload CLEAR EVENTS ENDPROC PROCEDURE cmdExit.Click IF ThisForm.QueryUnload() ThisForm.Release() ENDif ENDPROC ENDDEFINE
- Set TopForm.prg as the Main program, and build an EXE (TopForm.exe).
- Run TopForm.exe from the Start Menu or Windows Explorer.
You may see the error message mentioned above.
Keywords: kbcodesnippet kbprb KB254465