By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,960 Members | 2,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,960 IT Pros & Developers. It's quick & easy.

Mouse Scroll Stop

P: 67
Hi All

I want to stop the scroll wheel on the mouse. I have looked through the forum and downloaded the file from MouseWheelOnOff. I have entered the code

Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load() 
  2.    'Turn off Mouse Scroll 
  3.     blRet = MouseWheelOFF 
  4. End Sub 
to my form and imported the modMouseHook. I have the .dll in the same folder as the db and it does not disable the mouse wheel. Have i missed something?

Jan 22 '09 #1
Share this Question
Share on Google+
5 Replies

Expert 100+
P: 1,923
Did you put in the code to turn the mousewheel back on when you exit the current session? Did you load the latest version...A2K+?
Jan 22 '09 #2

Expert 100+
P: 1,923
Also, the code is supposed to be loaded only once per session. You've placed the code in the form_load event instead of behind a button as shown. Does your form get loaded more than once during a session?
Jan 22 '09 #3

P: 67
Hi puppydogbuddy
Yes to your first question. For your second question, i have just tried it with a button and it still doesn't work.

I have read that you might have to reference the .dll file. When i try this it it fails.

Anymore ideas?

Jan 22 '09 #4

Expert 100+
P: 1,923
Hi Wayne,
Leban's says the latest version contains an optional parameter to turn the wheel off for subforms. His instructions say that you have to uninstall all previous versions of the Dll. Have you installed the latest version....and did you set the optional parameter? If you can't identify and set the optional parameter Leban's mentioned, I would uninstall the dll you have now, go to Leban's web page, and download and re-install the latest A2K version.
Jan 22 '09 #5

Expert 2.5K+
P: 3,532
That's good to know, PDB! Didn't know Lebans had updated it with the option. I've used it for years without problems, but, of course, I'm still using the version I downloaded years ago!

Linq ;0)>
Jan 22 '09 #6

Post your reply

Sign in to post your reply or Sign up for a free account.