How can I make mousewheel work in VB6 IDE?

Microsoft has an extension that can provide the behavior requested. You have to download it from the link below and register it with the steps provided, such as using regsvr32

http://download.microsoft.com/download/e/f/b/efb39198-7c59-4ace-a5c4-8f0f88e00d34/vb6mousewheel.exe

Update: Here are the steps

  • 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.

  • Extract the files to a location you have access to.

  • Open a command prompt, run as administrator.

  • Go to the folder you extracted the files to.

  • type regsvr32 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.


The easiest method that worked for me was just downloading and running the binary from http://www.joebott.com/vb6scrollwheel.htm

Usage:

Just run the exe and your VB editors have the scroll.

Info from the Author:

This is a small program that will make your mouse's scroll wheel work in various older programs - mainly Visual Basic 6's code window. I noticed a lot of people coming to this site from Google looking for help with their mouse wheel. So, I decided to fix it.

It is possible to support many programs by adjusting its INI file. The included INI file includes support for:

  • VB6 Code Window
  • VB6 Resource Design Window
  • SourceSafe 6 Diff Viewer
  • Windiff VBA Editor

****Easy way for beginer:****

  1. Download Download the VB6 Mouse Wheel.exe file as link: http://download.microsoft.com/download/e/f/b/efb39198-7c59-4ace-a5c4-8f0f88e00d34/vb6mousewheel.exe
  2. Run .exe, click unzip (we have VB6IDEMouseWheelAddin.dll)
  3. Coppy VB6IDEMouseWheelAddin.dll to System32 (x32bit) or SysWOW64 (x64bit)
  4. Run Cmd as Administrator 5.1 With x32bit:

    C:\WINDOWS\system32>regsvr32 VB6IDEMouseWheelAddin.dll (in Cdm )

5.2 With x64bit:

C:\WINDOWS\system32>cd C:\WINDOWS\SysWOW64

C:\WINDOWS\SysWOW64>regsvr32 VB6IDEMouseWheelAddin.dll (IN cmd)
  1. Open the VB IDE.
  2. Go to the 'Add-Ins Manager'.
  3. Select 'MouseWheel Fix' in the Available Add-Ins.
  4. Check 'Loaded/Unloaded' and 'Load on Startup'.
  5. Click 'OK' button.