Mousehook.dll is a library associated with Stephen Lebans hack for locking
the mousewheel in Access so that it doesn't scroll thru records. The download
and some info on it are located at:
Are you getting a message that it can't be found? If memory serves, on some
systems you have to make sure that Mousehook.dll is in the same folder as
the database resides in. If this database came from another source and was
installed on your computer, the DLL file may not have come along for the ride!
You can use the link above to download the sample database. When you do,
Mousehook.dll will be there as well.
In most scenarios, a call to the MouseWheelOff function of the MouseHook.DLL
is made in the Load event of a SINGLE form that opens during your apps
startup.
What exactly do you need to know?
--
HTH
Stephen Lebans http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
I always place it in the OnLoad event of my opening splash screen. I included
the comment about "one or more forms" because, incredibly, there are people
out there who give end users access to the Objects dialog box and have them
open forms by going to the Forms Tab and clicking on the form's name!
And since you're here, so to speak, that's just one great hack of many you've
contributed to the community! Thanks!