?
Solved

Mouse wheel in VB

Posted on 2004-11-21
7
Medium Priority
?
551 Views
Last Modified: 2012-08-13
My mouse wheel has no affect in both VB6 and VBA.  How do I get it to work?  or is it something Microsoft forgot.  My mouse wheel does work elsewhere.
0
Comment
Question by:DavidKennedy
  • 4
  • 3
7 Comments
 
LVL 28

Expert Comment

by:vinnyd79
ID: 12640577
0
 

Author Comment

by:DavidKennedy
ID: 12640737
Thank you vinnyd79.  I followed the instructions under Method 1, and now it works in VB6.  I will award you the full points.

However, it still does not work in VBA (Excel).  In this case, when I went to Add-Ins, Add-Inn Manager, there were none available.  Is there a patch for VBA as well.  Windows 2000.
0
 
LVL 28

Accepted Solution

by:
vinnyd79 earned 200 total points
ID: 12641062
Did you create the reg file to merge into your registry as suggested in the article?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:DavidKennedy
ID: 12641128
Yes, I did steps 1-7, and that is why it now works in VB6.
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 12644507
Actually I was referring to the info listed after method 2:

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.
STATUS
0
 

Author Comment

by:DavidKennedy
ID: 12650223
The file, "VBA Mouse Wheel Fix.reg", came with the fix, and it does contain the information, [HKEY_CURRENT ... Connect] ... "LoadBehaviour"=dword:00000000", as required.

Please can you tell me "in words of one syllable" exactly how I "merge" (this file?) with my registry?  Our HelpDesk would crucify me if they discovered that I mucked about with the Registry and messed it up.
0
 

Author Comment

by:DavidKennedy
ID: 12650561
Eureka, I discovered it.  Right-button click on the file, "VBA Mouse Wheel Fix.reg".  Select "Merge", say "Yes" to add to Registry.  Then in VBA, go to Add-Inns, and it will be there.  Put a tick in both boxes, "Loaded/Unloaded" and "Load on Startup", as in VB6, and it works.

If it is so simple, why did Microsoft leave it out of the standard setup?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question