If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Mouse wheel navigating through records
Hi,
I tried that dll file provided in http://www.lebans.com/mousewheelonoff.htm but it didn't work with me. I placed the dll file in the same directory where my mdb is, and I typed the following into the form code: ------------------------- Private Sub Form_Load() ' Turn the MouseWheel Off Dim blRet As Boolean blRet = MouseWheelOFF End Sub ------- Private Sub Form_Unload(Cancel As Integer) ' Turn the MouseWheel On Dim blRet As Boolean blRet = MouseWheelON End Sub ------------------------- that's all what I did. I wonder if I'm missing any thing. Thanks for your help. |
#2
|
|||
|
|||
Mouse wheel navigating through records
I think you'll need to register the dll. Try this:
Start ... Run regsvr32.exe "C:\Full path to dll" You should get a messagebox saying the registration succeeded. -- Arvin Meyer, MCP, MVP Microsoft Access Free Access downloads: http://www.datastrat.com http://www.mvps.org/access "FreeMaster" wrote in message ... Hi, I tried that dll file provided in http://www.lebans.com/mousewheelonoff.htm but it didn't work with me. I placed the dll file in the same directory where my mdb is, and I typed the following into the form code: ------------------------- Private Sub Form_Load() ' Turn the MouseWheel Off Dim blRet As Boolean blRet = MouseWheelOFF End Sub ------- Private Sub Form_Unload(Cancel As Integer) ' Turn the MouseWheel On Dim blRet As Boolean blRet = MouseWheelON End Sub ------------------------- that's all what I did. I wonder if I'm missing any thing. Thanks for your help. |
#3
|
|||
|
|||
Mouse wheel navigating through records
Hi Arvin,
the MouseHook DLL is a standard Windows DLL written in C++. It is not an ActiveX DLL so it does not require registration. :-) -- HTH Stephen Lebans http://www.lebans.com Access Code, Tips and Tricks Please respond only to the newsgroups so everyone can benefit. "Arvin Meyer" wrote in message ... I think you'll need to register the dll. Try this: Start ... Run regsvr32.exe "C:\Full path to dll" You should get a messagebox saying the registration succeeded. -- Arvin Meyer, MCP, MVP Microsoft Access Free Access downloads: http://www.datastrat.com http://www.mvps.org/access "FreeMaster" wrote in message ... Hi, I tried that dll file provided in http://www.lebans.com/mousewheelonoff.htm but it didn't work with me. I placed the dll file in the same directory where my mdb is, and I typed the following into the form code: ------------------------- Private Sub Form_Load() ' Turn the MouseWheel Off Dim blRet As Boolean blRet = MouseWheelOFF End Sub ------- Private Sub Form_Unload(Cancel As Integer) ' Turn the MouseWheel On Dim blRet As Boolean blRet = MouseWheelON End Sub ------------------------- that's all what I did. I wonder if I'm missing any thing. Thanks for your help. |
#4
|
|||
|
|||
Mouse wheel navigating through records
Can you get the sample MDB to work properly on your system?
-- HTH Stephen Lebans http://www.lebans.com Access Code, Tips and Tricks Please respond only to the newsgroups so everyone can benefit. "FreeMaster" wrote in message ... Hi, I tried that dll file provided in http://www.lebans.com/mousewheelonoff.htm but it didn't work with me. I placed the dll file in the same directory where my mdb is, and I typed the following into the form code: ------------------------- Private Sub Form_Load() ' Turn the MouseWheel Off Dim blRet As Boolean blRet = MouseWheelOFF End Sub ------- Private Sub Form_Unload(Cancel As Integer) ' Turn the MouseWheel On Dim blRet As Boolean blRet = MouseWheelON End Sub ------------------------- that's all what I did. I wonder if I'm missing any thing. Thanks for your help. |
#5
|
|||
|
|||
Mouse wheel navigating through records
After you put the .dll file into the same directory as your database, close
your database. Then reopen it. The database will not look for the .dll each time you call the code, just when the database is opened. -- Ken Snell MS ACCESS MVP "FreeMaster" wrote in message ... Hi, I tried that dll file provided in http://www.lebans.com/mousewheelonoff.htm but it didn't work with me. I placed the dll file in the same directory where my mdb is, and I typed the following into the form code: ------------------------- Private Sub Form_Load() ' Turn the MouseWheel Off Dim blRet As Boolean blRet = MouseWheelOFF End Sub ------- Private Sub Form_Unload(Cancel As Integer) ' Turn the MouseWheel On Dim blRet As Boolean blRet = MouseWheelON End Sub ------------------------- that's all what I did. I wonder if I'm missing any thing. Thanks for your help. |
#6
|
|||
|
|||
Mouse wheel navigating through records
Stephen,
The sample MDB is working fine. But I couldn't make it run on my form load. "Stephen Lebans" wrote: Can you get the sample MDB to work properly on your system? -- HTH Stephen Lebans http://www.lebans.com Access Code, Tips and Tricks Please respond only to the newsgroups so everyone can benefit. "FreeMaster" wrote in message ... Hi, I tried that dll file provided in http://www.lebans.com/mousewheelonoff.htm but it didn't work with me. I placed the dll file in the same directory where my mdb is, and I typed the following into the form code: ------------------------- Private Sub Form_Load() ' Turn the MouseWheel Off Dim blRet As Boolean blRet = MouseWheelOFF End Sub ------- Private Sub Form_Unload(Cancel As Integer) ' Turn the MouseWheel On Dim blRet As Boolean blRet = MouseWheelON End Sub ------------------------- that's all what I did. I wonder if I'm missing any thing. Thanks for your help. |
#7
|
|||
|
|||
Mouse wheel navigating through records
Yes ken, I already did that. No positive result.
"Ken Snell" wrote: After you put the .dll file into the same directory as your database, close your database. Then reopen it. The database will not look for the .dll each time you call the code, just when the database is opened. -- Ken Snell MS ACCESS MVP "FreeMaster" wrote in message ... Hi, I tried that dll file provided in http://www.lebans.com/mousewheelonoff.htm but it didn't work with me. I placed the dll file in the same directory where my mdb is, and I typed the following into the form code: ------------------------- Private Sub Form_Load() ' Turn the MouseWheel Off Dim blRet As Boolean blRet = MouseWheelOFF End Sub ------- Private Sub Form_Unload(Cancel As Integer) ' Turn the MouseWheel On Dim blRet As Boolean blRet = MouseWheelON End Sub ------------------------- that's all what I did. I wonder if I'm missing any thing. Thanks for your help. |
#8
|
|||
|
|||
Mouse wheel navigating through records
hi Stephen,
the sample MDP file is working, but I couldn't make mine work. any idea? Thank you, WL "Stephen Lebans" wrote: Can you get the sample MDB to work properly on your system? -- HTH Stephen Lebans http://www.lebans.com Access Code, Tips and Tricks Please respond only to the newsgroups so everyone can benefit. "FreeMaster" wrote in message ... Hi, I tried that dll file provided in http://www.lebans.com/mousewheelonoff.htm but it didn't work with me. I placed the dll file in the same directory where my mdb is, and I typed the following into the form code: ------------------------- Private Sub Form_Load() ' Turn the MouseWheel Off Dim blRet As Boolean blRet = MouseWheelOFF End Sub ------- Private Sub Form_Unload(Cancel As Integer) ' Turn the MouseWheel On Dim blRet As Boolean blRet = MouseWheelON End Sub ------------------------- that's all what I did. I wonder if I'm missing any thing. Thanks for your help. |
#9
|
|||
|
|||
This is strange, because my MouseWHeel WAS working in my database, but today,
when I opened it (for the first time in about a week), it didn't find the DLL. I performed a couple of system updates last week, but I don't remember if any were related to Access. (I've got SP 3). Interestingly, if I move the MouseHook.DLL to the Windows/System folder the database works fine. Has anyone else had this problem with SP 3? Oddly, the sample database works fine with the DLL in the local folder. "FreeMaster" wrote: hi Stephen, the sample MDP file is working, but I couldn't make mine work. any idea? Thank you, WL "Stephen Lebans" wrote: Can you get the sample MDB to work properly on your system? -- HTH Stephen Lebans http://www.lebans.com Access Code, Tips and Tricks Please respond only to the newsgroups so everyone can benefit. "FreeMaster" wrote in message ... Hi, I tried that dll file provided in http://www.lebans.com/mousewheelonoff.htm but it didn't work with me. I placed the dll file in the same directory where my mdb is, and I typed the following into the form code: ------------------------- Private Sub Form_Load() ' Turn the MouseWheel Off Dim blRet As Boolean blRet = MouseWheelOFF End Sub ------- Private Sub Form_Unload(Cancel As Integer) ' Turn the MouseWheel On Dim blRet As Boolean blRet = MouseWheelON End Sub ------------------------- that's all what I did. I wonder if I'm missing any thing. Thanks for your help. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MS Mouse - Wheel does not scroll in VBA | Andre Uys | General Discussion | 4 | July 22nd, 2004 06:23 AM |
MS Mouse - Wheel does not scroll in VBA | Andre Uys | General Discussion | 0 | July 20th, 2004 03:58 AM |
How to Deactivate mouse wheel on a form ? | Nico | Using Forms | 1 | June 15th, 2004 09:16 PM |
Mouse Wheel in VBA | John | Setting up and Configuration | 7 | June 4th, 2004 02:03 AM |