A gentleman by the name of Stephen Lebans has a sample database that does this and can be downloaded at:
http://www.lebans.com/mousewheelonoff.htm
First, download and unzip the db and take a look. Go into your db and goto
File > External Data > Import and
import the module modMouseHook from the sample database.
Next, use your FIND feature in Windows to make sure you have the file
MouseHook.dll on your PC. You should, it's a standard Windows file. You may have to go into Windows and select "Show hidden files" then run FIND. You need to place a copy of this file in the same folder your database resides in.
And finally, in the first form to load in your db use this code:
- Private Sub Form_Load()
-
'Turn off Mouse Scroll
-
blRet = MouseWheelOFF
-
End Sub