lock mouse scroll

K

Kirt84

Hi

Does this work for Acess 2000? I can't get it to work on my Database. I have
put the Mouse.DLL file into windows system folder and used the Sample code
but it doesn't seem to work.
 
G

Gina Whipp

As far as I know it works for Access 2000.

1. Did you copy the module into the database?
2. Are you using it on a subfrom (I don't believe it works on main forms)

HTH,
Gina Whipp
 
G

Gina Whipp

Stephen,

Thanks for replying (I didn't know it would look after all subforms). I
haven't "heard" back from Kirt84 to know if that's what happened.

Thanks,
Gina Whipp
 
K

Kirt84

hi

This is still not working. I just want to be able to disable the mouse
scroll on open. I used the following code:

Private Sub Form_Load()
' Turn the MouseWheel Off
'Dim blRet As Boolean
blRet = MouseWheelOFF
End Sub
 
K

Kirt84

The message it comes up with is "Compile error: Variable not defined". Please
help as VB coding is not my strong point.
 
D

Douglas J. Steele

Did you copy the module from the sample database, as was pointed out as
being necessary?
 
D

Douglas J. Steele

Even if you have copied the module, you've got the Dim blRet line commented
out.

Private Sub Form_Load()
' Turn the MouseWheel Off
Dim blRet As Boolean
blRet = MouseWheelOFF
End Sub
 

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