You are on page 1of 4

Mouse wheel events do not work in the Visual Basic 6.

0 IDE
Skip Navigation

My account

Sign in

Support
By product Downloads Store Contact us

Mouse wheel events do not work in the Visual Basic 6.0 IDE
Article ID: 837910 - View products that this article applies to.

Print Email

Article translations

Expand all | Collapse all

From the Community


VB6 IDE in W7, Mouse Wheel dosen't work - Microsoft Community regsvr32 error 0x80004005 Microsoft Community

SYMPTOMS
You cannot scroll by using the mouse wheel in the Microsoft Visual Basic 6.0 IDE. Back to the top | Give Feedback

Contact us for more help

CAUSE
This problem occurs because the Visual Basic 6.0 IDE does not have built-in support for scrolling by using the mouse wheel. Back to the top | Give Feedback

Connect with Answer Desk for expert help. Ask Answer Desk

WORKAROUND
To work around this problem, use one of the following methods:

Method 1
Download the VB6 Mouse Wheel.exe file that includes the add-in DLL and the code that is used to create the add-in DLL. 1. Download the VB6 Mouse Wheel.exe file. The following file is available for download from the Microsoft Download Center: Download the VB6MouseWheel.EXE package now. For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
http://support.microsoft.com/kb/837910/en-us[31/12/2013 21:40:37]

Mouse wheel events do not work in the Visual Basic 6.0 IDE

2. 3. 4. 5. 6. 7.

Click Start , click Run , type regsvr32 <path>\VB6IDEMouseWheelAddin.dll , and then click OK . Start Visual Basic 6.0. Click Add-Ins, and then click Add-in Manager . In the Add-in Manager list, click MouseWheel Fix. Click to select the Loaded/Unloaded check box, and then click to select the Load on Startup check box. Click OK .

You can also build the add-in DLL in Visual Basic 6.0. If you do this, the add-in DLL is automatically registered. You can then follow steps 4 through 7 to enable the add-in DLL. To build the add-in DLL, click Make VB6IDEMouseWheelAddin.dll on the File menu.

Method 2
Return to an earlier version of Microsoft IntelliPoint software. To do this, follow these steps: 1. If the IntelliPoint software that is installed on your computer is version 4.9 or a later version, remove the IntelliPoint software from your computer. 2. Install IntelliPoint software version 4.12. The following file is available for download from the Microsoft Download Center: Download the IntelliPoint 4.12 package now. For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file. Note You can also use this add-in in most VBA environments. Install the add-in as described earlier, create a .reg file with the following values, and merge it with your registry. Windows Registry Editor Version 5.00 HKEY_CURRENT_USER\Software\Microsoft\VBA\VBE\6.0\Addins\VB6IDEMouseWheelAddin.Connect "FriendlyName"="MouseWheel Fix" "CommandLineSafe"=dword:00000000 "LoadBehavior"=dword:00000000 Note These keys may be ignored if you put them under HKEY_LOCAL_MACHINE. Back to the top | Give Feedback

STATUS
This behavior is by design. Back to the top | Give Feedback

MORE INFORMATION
Mouse wheel support in Visual Basic 6.0 is a function of the mouse driver. The WM_MOUSEWHEEL message is sent to the Focus window when you rotate the mouse wheel. Because the Visual Basic 6.0 IDE does not have built-in support for scrolling by using the mouse wheel, the IDE ignores the WM_MOUSEWHEEL message. However, IntelliPoint software version 4.12 provides mouse wheel support and converts the WM_MOUSEWHEEL message to WM_SCROLL. IntelliPoint software version 4.9 and later versions do not have this feature. Therefore, if you want to use the mouse wheel to scroll in the Visual Basic 6.0 IDE, you must use IntelliPoint software version 4.12. Back to the top | Give Feedback
http://support.microsoft.com/kb/837910/en-us[31/12/2013 21:40:37]

Mouse wheel events do not work in the Visual Basic 6.0 IDE

REFERENCES
For additional information about WM_MOUSEWHEEL notification, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/ms645617.aspx Back to the top | Give Feedback

Properties
Article ID: 837910 - Last Review: June 5, 2012 - Revision: 7.0 APPLIES TO
Microsoft Visual Basic for Applications 6.0 Microsoft Visual Basic 5.0 Enterprise Edition

Keywords: kbevent kbideproject kbdriver kbdevstudio kbprb KB837910 Back to the top | Give Feedback

Give Feedback Was this information helpful?


Yes No Somewhat

How much effort did you personally put forth to use this article?
Very low Low Moderate High Very high

Tell us why and what can we do to improve this information

Submit

Back to the top

http://support.microsoft.com/kb/837910/en-us[31/12/2013 21:40:37]

Mouse wheel events do not work in the Visual Basic 6.0 IDE

Other Microsoft sites Windows Office Windows Phone Xbox Skype Bing Microsoft Store

Downloads
Download center Windows downloads Office downloads Service Pack downloads Direct X download

Support
Knowledge Base search Supported Products list Support offerings Product support lifecycle Small and medium business support IT Pro support Developer support

Popular resources
Microsoft Outlook Express Microsoft Fix It downloads Windows keyboard shortcuts Microsoft Visual C library runtime error Windows Installer error: service could not be accessed How to: Windows XP system restore Windows update error message Microsoft Security Essentials manual update download Inbox Scanpst.exe

Privacy
Privacy feedback

About Microsoft
Microsoft Careers Company news Investor relations Site map

Security
Virus and Security solution center Security home page Microsoft Update Download Security Essentials Malware Removal tool

United States
Services Agreement Contact Us Terms of Use Trademarks Privacy & Cookies 2013 Microsoft

http://support.microsoft.com/kb/837910/en-us[31/12/2013 21:40:37]

You might also like