MouseWheelOff

J

Jason

I have a Access 2003 database on a XP platform and and trying to disable the
Mouse Wheel in forms. I tried the solution at
http://www.lebans.com/mousewheelonoff.htm but the .dll does not seem to work
with 2003. When I try to add the reference I get a message stating "Can't
Add Reference to Specified File"

Any Ideas
Thanks Ahead
 
W

Wayne Morgan

He just released a new version today. From the page your link goes to, the
instructions state

The MouseHook DLL is a standard Windows DLL. Do not try to Register it or
set a Reference to it from within Access.
 
J

Jason

Thanks Wayne,

I tried what the directions said and copied the .dll to the directory where
my .mdb file is located. Then, seperately, I tried two different event
properties to copy the code too, 1. a click event associated with a button
2. the form load event. In both cases I was not able to stop the mouse
wheel from scrolling. I did try his sample app and it works. I looked at
his code and it seems to be like what I have. Am I missing a step
somewhere?

Thanks
Jason
 
J

Jason

Wayne,

Thanks for your help, I failed to read a critical step and that was to
import the modMouseHood module. Once I did that everything worked as
indicated.

Thanks
Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top