Mousehook and Access 2000

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gilz

    Mousehook and Access 2000

    Hi

    I have been trying to use the mousehook dll to disable the scrolling
    function on the mouse.

    I have tried copying and pasting the code from Stephen Lebams website
    onto the on click event of a button and the on load event of a form.

    Neither of these appears to work.

    I know that i don't have to reference the dll in the code but are there
    other specific references i have to have selected in order for this
    code to work.

    Each time i try to debug the code

    Dim blret as Boolean
    blret = MouseWheelOff

    I get an error message saying undefined function.

    Thanks in advance for any help.

    Gillian

  • Kurt

    #2
    Re: Mousehook and Access 2000

    Lebams' mousehook sample database also includes a module called
    "modMouseHo ok" which you need to import into your database. Have you
    done this?

    Also, add a false statement to your code:

    Dim blRet as Boolean
    blRet = MouseWheelOff(F ALSE)

    Kurt

    Comment

    Working...