469,125 Members | 1,640 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,125 developers. It's quick & easy.

Mouse Scroll Stop

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
5 1732
1,923 Expert 1GB
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
1,923 Expert 1GB
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
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
1,923 Expert 1GB
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
3,532 Expert 2GB
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.

Similar topics

1 post views Thread by ernond_paul | last post: by
reply views Thread by Jack | last post: by
1 post views Thread by Marcin | last post: by
1 post views Thread by Fatima | last post: by
19 posts views Thread by wmanzo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.