473,382 Members | 1,424 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,382 software developers and data experts.

Stephen Lebans MouseHook.dll, Can't find entry point StartMouseWheel

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 it. (Even better,
considering what I paid for it.)

Just hit a situation where it didn't work, though, and I was wondering
if anyone else has hit this yet:

*A dumb terminal, running Windows 2003.
*Access 2003.

The dll is in the same directory as the program. Tracing through it, I
can see that the dll gets correctly loaded, since there's a valid
handle returned. However, when the form loads, the call to
StopMouseWheel returns False. And, when the form closes once again and
modMouseHook's MouseWheelON is called, the call to StartMouseWheel
returns the following error:

Run-time error 453. "Can't find entry point StartMouseWheel in
MouseHook.dll."

Anyone have any ideas? I suspect Windows 2003 or the fact that this is
a dumb terminal, since I've already successfully used MouseHook.dll on
Windows XP/Access 2003.
Any thoughts would be appreciated.

Best,
Rémi.

Nov 13 '05 #1
3 5800
Try placing the DLL in the WIndows/System folder instead.

If all else fails hard code the path in the DLL Function declaration to
the WIndows/System folder.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Rémi" <re**@terracognita.ca> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
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 it. (Even better,
considering what I paid for it.)

Just hit a situation where it didn't work, though, and I was wondering
if anyone else has hit this yet:

*A dumb terminal, running Windows 2003.
*Access 2003.

The dll is in the same directory as the program. Tracing through it, I
can see that the dll gets correctly loaded, since there's a valid
handle returned. However, when the form loads, the call to
StopMouseWheel returns False. And, when the form closes once again and
modMouseHook's MouseWheelON is called, the call to StartMouseWheel
returns the following error:

Run-time error 453. "Can't find entry point StartMouseWheel in
MouseHook.dll."

Anyone have any ideas? I suspect Windows 2003 or the fact that this is
a dumb terminal, since I've already successfully used MouseHook.dll on
Windows XP/Access 2003.
Any thoughts would be appreciated.

Best,
Rémi.

Nov 13 '05 #2
Thanks for the tip, Stephen.
I'll give it a try when I have the chance.

Best,
Rémi.
Stephen Lebans wrote:
Try placing the DLL in the WIndows/System folder instead.

If all else fails hard code the path in the DLL Function declaration to the WIndows/System folder.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Rémi" <re**@terracognita.ca> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
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 it. (Even better,
considering what I paid for it.)

Just hit a situation where it didn't work, though, and I was wondering if anyone else has hit this yet:

*A dumb terminal, running Windows 2003.
*Access 2003.

The dll is in the same directory as the program. Tracing through it, I can see that the dll gets correctly loaded, since there's a valid
handle returned. However, when the form loads, the call to
StopMouseWheel returns False. And, when the form closes once again and modMouseHook's MouseWheelON is called, the call to StartMouseWheel
returns the following error:

Run-time error 453. "Can't find entry point StartMouseWheel in
MouseHook.dll."

Anyone have any ideas? I suspect Windows 2003 or the fact that this is a dumb terminal, since I've already successfully used MouseHook.dll on Windows XP/Access 2003.
Any thoughts would be appreciated.

Best,
Rémi.


Nov 13 '05 #3
Just a follow-up note, that the answer might be archived for
prosperity...

Discussed the issue with the organization's network and support people.
It appears they have software running on their server that doesn't
allow users to run any code that isn't owned by Administrator. Since
the dll was placed in the user's directory, by the user himself, the
DLL was not allowed to execute.

Thanks again for taking the time to offer suggestions, Stephen. I
realize you're under no obligation, and I do appreciate it.

Best,
R/mi.
Rémi wrote:
Thanks for the tip, Stephen.
I'll give it a try when I have the chance.

Best,
Rémi.
Stephen Lebans wrote:
Try placing the DLL in the WIndows/System folder instead.

If all else fails hard code the path in the DLL Function declaration
to
the WIndows/System folder.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Rémi" <re**@terracognita.ca> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
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 it. (Even better,
considering what I paid for it.)

Just hit a situation where it didn't work, though, and I was

wondering
if anyone else has hit this yet:

*A dumb terminal, running Windows 2003.
*Access 2003.

The dll is in the same directory as the program. Tracing through

it, I
can see that the dll gets correctly loaded, since there's a valid
handle returned. However, when the form loads, the call to
StopMouseWheel returns False. And, when the form closes once again

and
modMouseHook's MouseWheelON is called, the call to StartMouseWheel
returns the following error:

Run-time error 453. "Can't find entry point StartMouseWheel in
MouseHook.dll."

Anyone have any ideas? I suspect Windows 2003 or the fact that this

is
a dumb terminal, since I've already successfully used MouseHook.dll

on
Windows XP/Access 2003.
Any thoughts would be appreciated.

Best,
Rémi.


Nov 13 '05 #4

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

Similar topics

2
by: Wally | last post by:
Hi All, I'm using Stephan Lebans' nifty code for automatically resizing text fields to the size required to show (almost) all text in that field (CanGrow3, thanks Stephen!). In general this...
11
by: Patrick | last post by:
I am using Stephans code to change the background color of the Access container in Access 97, the code works fine when running in Access in the normal way. The problem occurs when running the...
3
by: Alex Wisnoski | last post by:
I am trying to adapt Lebans' ReportUtilities to export reports (to preserve formatting) from an Access 97 application. I have made the reference to his mde and copied the modules into my db. I...
1
by: ChrisR | last post by:
Hi Stephen Lebans Thank you very much for your effort and time you have spent writing and helping small hacks like me. I have just one problem with your mousewheelhook. I'm using Access 2002. I...
3
by: Phil Stanton | last post by:
I am trying to produce a program that will output any Access report to an editable Word document. So far it is working well but slowly with text boxes, labels, and lines. I now need to try to...
14
by: nospamhere | last post by:
Hello Stephen and all, This is such a cool group. I really need to spend more time here. A few months ago I noticed some brief discussion here about the fact that your excellent HTML Editor...
8
by: grant | last post by:
Hi I've copied Stephens code into my db, and can get it to work, but only on "plain Jane" reports with no images. Most of my reports has an unbound image obluect in them that I set to an...
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...
30
by: CD Tom | last post by:
I found Stephen Lebans modReportToPDF and have been trying to get it to work in my application. I've downloaded his database and when I run his test it works fine. I then added it to my application...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.