How can I make mousewheel work in VB6 IDE?

Viewed 62849

One annoying behavior of the VB6 IDE editor, especially when switching back to it from more recent tools like VS.NET, is that it doesn't recognize the mousewheel! Maybe VB6 was brought out when most mice didn't have one, but is there a way to fix it so it does recognize the mousewheel?

6 Answers

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.

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

Steps from https://support.microsoft.com/en-us/kb/837910

To install the VB6 IDE Mousewheel Addin:

  1. Copy VB6IDEMouseWheelAddin.dll to your local System32 directory and register.
  2. Open the VB IDE.
  3. Go to the 'Add-Ins Manager'.
  4. Select 'MouseWheel Fix' in the Available Add-Ins.
  5. Check 'Loaded/Unloaded' and 'Load on Startup'.
  6. Click 'OK' button.

You should now be able to use the mousewheel in the code window.

I came across another method (which was discussed on VBForums, advocated by Dilletante and Elroy).

...use the X-Mouse utility to fix the scroll-wheel. ... it's the only one I've ever found that correctly scrolls when you have your code displayed as a split-window.

Download website.

enter image description here

Since I was having trouble with the Microsoft add-in noted in some other answers I tried this and it does work well. Conveniently it also lets you set some options to tune the scrolling behavior and speed.

Here's another external program, as mentioned in another question.

Download link: Wheeler

Wheeler is a free program that enhances the behavior of your mouse wheel...

Wheeler is a highly configurable program. Here are some highlights:

In addition to scrolling the window under the cursor when you roll the mouse wheel, it's possible to move the keyboard focus to that window... Through the concept of wheelability, you can control how wheel messages are processed on a per window class basis. Scoped window classes allow you to associate window class names with the specific programs that define them, so you don't have to worry about affecting other programs that may unwittingly use the same window class names. ... You can exclude entire programs from the Wheeler treatment.

Related