Thursday, July 13, 2006

Visual Basic VB6 Mouse Scrolling not working?

This was what happened to me before i downloaded the DLL provided by Microsoft for free.

To work around this problem, use one of the following methods:
Method 1
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. (
2. Click Start, click Run, type regsvr32 \VB6IDEMouseWheelAddin.dll, and then click OK.
3. Start Visual Basic 6.0.
4. Click Add-Ins, and then click Add-in Manager.
5. In the Add-in Manager list, click MouseWheel Fix.
6. Click to select the Loaded/Unloaded check box, and then click to select the Load on Startup check box.
7. Click OK.

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.

Your Ad Here