Turn mouse scroll off.

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

    #1

    Turn mouse scroll off.

    Help! I am having a very aggervating problem with Access. Call me
    lazy, but I like to copy and paste addresses from Access into
    microsoft work, like for sending letters where I only need about 3
    envelopes. The problem is that some of my envelopes are coming back
    for "wrong addresses". I figured out that when I'm in Access my
    information is scrolling to the next record sometimes, without me
    meaning to do that. So, is there a way to lock down the record scroll?

    Thanks!

    Msilushn
  • sparks

    #2
    Re: Turn mouse scroll off.

    try here




    jerry


    On 23 Jun 2004 08:20:01 -0700, msilushn@yahoo. com (ilushn) wrote:
    [color=blue]
    >Help! I am having a very aggervating problem with Access. Call me
    >lazy, but I like to copy and paste addresses from Access into
    >microsoft work, like for sending letters where I only need about 3
    >envelopes. The problem is that some of my envelopes are coming back
    >for "wrong addresses". I figured out that when I'm in Access my
    >information is scrolling to the next record sometimes, without me
    >meaning to do that. So, is there a way to lock down the record scroll?
    >
    >Thanks!
    >
    >Msilushn[/color]

    Comment

    • Saintor

      #3
      Re: Turn mouse scroll off.

      Make a search with 'MouseHook.dll' . I think the solution was from Lebans
      site. It is the best so far.

      "ilushn" <msilushn@yahoo .com> wrote in message
      news:99a53f40.0 406230720.420d8 c5e@posting.goo gle.com...[color=blue]
      > Help! I am having a very aggervating problem with Access. Call me
      > lazy, but I like to copy and paste addresses from Access into
      > microsoft work, like for sending letters where I only need about 3
      > envelopes. The problem is that some of my envelopes are coming back
      > for "wrong addresses". I figured out that when I'm in Access my
      > information is scrolling to the next record sometimes, without me
      > meaning to do that. So, is there a way to lock down the record scroll?
      >
      > Thanks!
      >
      > Msilushn[/color]


      Comment

      • Stephen Lebans

        #4
        Re: Turn mouse scroll off.

        See:

        MouseWheelHook9 7.zip is an MDB demonstrating how to use a MouseHook to
        turn off the MouseWheel. No more MouseWheel.DLL Hell! No DLL
        registration required. The MouseHook DLL is a standard Windows DLL. Do
        not try to Register it or set a Reference to it from within Access.
        Just copy the included MouseHook.DLL into your Windows/System folder or
        into the same folder as your application MDB. One instance handles all
        Forms and SubForms so only call the functions once from a SINGLE Form.
        Here is an A2K sample MDB including the DLL. MouseWheelHookA 2K.zip .
        Please note there is no difference between the MouseHook.DLL included in
        either the A97 or A2K ZIP file.

        Here is sample code that can be placed behind CommandButton controls.
        You could also place this code in the Load event of a single Form.
        Remember you need to call these functions only ONE TIME. The MouseHook
        will look after the MouseWheel messages for all forms that you have open
        now or at any time during your current session. Remember to turn the
        MouseWheel back on before you exit the current session!

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

        Or if you will be running multiple instances of Access then you can pass
        an optional parameter to ask for a Global Hook. The default is FALSE.
        Please note the Version documentation below.

        blRet = MouseWheelOFF(T rue)


        Private Sub Command16_Click ()
        ' Turn the MouseWheel On
        Dim blRet As Boolean
        blRet = MouseWheelON
        End Sub

        --

        HTH
        Stephen Lebans

        Access Code, Tips and Tricks
        Please respond only to the newsgroups so everyone can benefit.


        "ilushn" <msilushn@yahoo .com> wrote in message
        news:99a53f40.0 406230720.420d8 c5e@posting.goo gle.com...[color=blue]
        > Help! I am having a very aggervating problem with Access. Call me
        > lazy, but I like to copy and paste addresses from Access into
        > microsoft work, like for sending letters where I only need about 3
        > envelopes. The problem is that some of my envelopes are coming back
        > for "wrong addresses". I figured out that when I'm in Access my
        > information is scrolling to the next record sometimes, without me
        > meaning to do that. So, is there a way to lock down the record scroll?
        >
        > Thanks!
        >
        > Msilushn[/color]

        Comment

        Working...