Disable Scroll Mouse bug

  • Thread starter Thread starter Brandie
  • Start date Start date
B

Brandie

I am having trouble using the Stop Scroll Mouse Feature posted on
www.leans.com website. i have the .dll coppied into by system folder and i
have also tried the same folder where mdb is located, however the button
will not stop the mouse from scrolling and i can't figure out why. please
help.
 
Have you:
1) Imported the code modules from my sample MDB into your own?
2) Examined the code behind the sample Form and then added this code to
your own form?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Ok,
This is the code I have, please if you see any mistakes let me know. I
really apprecaite all of your help.

Private Sub MouseOFF_Click()
On Error GoTo Err_MouseOFF_Click

Dim blRet As Boolean
blRet = MouseWheelOFF(True, False)
MsgBox "The Scroll Feature has been Disabled"


Exit_MouseOFF_Click:
Exit Sub

Err_MouseOFF_Click:
MsgBox Err.Description
Resume Exit_MouseOFF_Click

End Sub


Afterword i get an error message that says this:

compile error:
sub or function not defined.

any help you give on this would be greatly apprecaited.

thank you
 
As I mentioned in my first post:
Have you:
1) Imported the code modules from my sample MDB into your own?


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
It's the least I could do as my wife puts up with mine everyday.<grin>

--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top