473,403 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

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

Apr 18 '06 #1
1 1877
Lebams' mousehook sample database also includes a module called
"modMouseHook" 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(FALSE)

Kurt

Apr 19 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sabine Oebbecke | last post by:
Hi Experts, I try to use the code supplied in the MouseWheelHook.zip in my application to stop the mouse, but it does not work at all. I have copied the Mousehook.dll into the same folder where...
2
by: AccessWhiz | last post by:
I have had some good success using MouseHook from Stephen Lebans. (I've downloaded and am using the current version of MouseHook dated 7/2/2003). However, I do have a question regarding...
3
by: Rémi | last post by:
Hello all! I've been using Stephen Lebans' MouseWheel stuff for a number of years now, without problems. I've used on different combinations of Access and Windows, and have had great results with...
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
3
by: l.green | last post by:
I have recently migrated from MS Access 2000 to MS Access 2003 and am testing all my Access apps. One app uses the Mousehook.dll which I downloaded from the web a few years ago. The .dll is in the...
0
by: VincentJS | last post by:
Greetings fellow programmers! Could someone explain to me HOW to call a mousehook OUTSIDE the calling thread (or program). Microsoft says following: HHOOK SetWindowsHookEx( int...
1
by: =?iso-8859-1?B?anRy/HRrZW4=?= | last post by:
I used the mousehook.dll in access 2000 to disable the mousewheel with success. I now got the problem when pressing the mousewheel on a laptop. This function is disabled on a "normal" PC but not...
3
by: Avellano | last post by:
When having two ms Access databases open, the mousehook setting from one database controls the setting in the second database. Is there any way of keeping the two completely separate and allowing...
0
by: noe1818 via AccessMonster.com | last post by:
I'm trying to put the mousehook code in the load event of a switchboard, since this is the first form that is opened when a user logs on. I know zero about code, so what do I need to write in the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.