Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[VB6] Enabling mouse wheel scrolling in visual basic 6


zerohero
 Share

Recommended Posts

Hiya guys,

              As many if you may know vb6 out of the box does not support mouse wheel scrolling. This is annoying to say the least.  So without further ado here is a short guide, for those who have not or do not know how to enable mouse scrolling within visual basic 6.

Firstly download the required files from this location, this contains everything that you will need -

[http://download.microsoft.com/download/e/f/b/efb39198-7c59-4ace-a5c4-8f0f88e00d34/VB6MouseWheel.EXE](http://download.microsoft.com/download/e/f/b/efb39198-7c59-4ace-a5c4-8f0f88e00d34/VB6MouseWheel.EXE)

Extract the files somewhere safe where they will not be moved, I put mine in a folder called 'scroll'  and then placed it in the 'Windows' folder.

Now enter '**run**', there are many methods of doing this. I personally used windows key and r but you can search for it in your start-bar (vista and windows 7) or xp users it should be there already.

Once you have  run open type in **regsvr32** followed by the location of the dll that was included in the file you extracted, example -

```
regsvr32 C:\Windows\scroll\VB6IDEMouseWheelAddin.dll
```
It should not have registered the dll.

Fire up visual basic and click '**Add-Ins'** at the top center.

![](http://i1012.photobucket.com/albums/af244/zeroohero/add-ins.png)

Once you have done that hit the **'Add-in Manager**' tab and a new window will pop up

Once the new window pops up find '**MouseWheel** Fix' and double click it to activate it. Also be sure to click the 'Load on Startup tickbox' so that it continues to run whenever you fire up visual basic. Now Hit ok and you are done!
Link to comment
Share on other sites

@Ariel:

> I already tried it, its the first thing i do whenever i come across an error but there is no RUN AS thing :( WTF

Press the start menu, go into the search bar, and type "cmd.exe" (no quotes). Then right-click the entry titled "Command Prompt" and click "Run As Administrator".

Then do regsvr.
Link to comment
Share on other sites

@Dawntide:

> I did it, it worked, but scrolling is still not working

I forgot to mention that within the add-in manager you need to also tick a box called 'load on startup' so that the mouse-wheel-scrolling is persistent, adding that now.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...