By default, the VB6 IDE doesn’t have support for wheel mouse scrolling, and you will actually need to press the up and down button on your keyboard or the scroll bar of the VB6 IDE itself to browse throguh the code. This can be quite tedious and unproductive if you’re dealing with a large piece of code with hundreds and thousands of line.
To work around this problem, you can download the VB6 Mouse Wheel.exe file from the Microsoft Download Center:
Download the VB6MouseWheel.EXE package now.
– Double click the donwloaded exe file, and unzip the files to a folder.
– Click Start, click Run, type regsvr32
– 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.
How To get mouse scrolling support in VBA
If you did all the above steps, you will just get scroll wheel mouse suport in Visual Basic 6. In order to get the same thing working in VBA:
– Open up the folder where you unzip the files to
– You will find a “VBA Mouse Wheel Fix.reg”
– Double click on it!
There is actually another method of getting the wheel mouse support working, but it seems specifically for users who are having touble with the Microsoft IntelliPoint software and I persoanlly found the above solution to be always working in different versions of Windows (XP, Windows Server 2003, Vista).
For more info, visit this page.