472,342 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,342 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 5686
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...
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...
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...
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...
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...
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...
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...
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...
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...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

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.