Run Time Error

T

TheScullster

Hi all

I have just put the front end of an "established" access2000 onto a new XP
PC.
The new machine is running XP Pro and Office Pro 2003.
When performing a selection, I get the prompt "run time error 429" and
"activex component can't create object".

When I look at the debug option it highlights the line:
Set ClsMouseWheel = New MouseWheel.CMouseWheel

The guy who set up the database included a mousewheel.dll file in the MS
directory for previous intalls. I have done this, but the error message
appears nonetheless.

Any ideas guys?

TIA

Phil
 
E

Ed Robichaud

Try putting a copy of the mousewheel.dll in the same folder as the
front-end. That particular mouse scroll wheel add-in needs to find the DLL
either in the windows\system or calling app directory.
-Ed
 
T

TheScullster

Try putting a copy of the mousewheel.dll in the same folder as the
front-end. That particular mouse scroll wheel add-in needs to find the DLL
either in the windows\system or calling app directory.
-Ed

Thanks for suggestion, Ed
Tried it, but no change!

Phil
 
T

TheScullster

Thanks Van

Tried this and got an error:

GetLastError 0x00000007e

Googled for this but couldn't find a solution.
Have you come across this?

Phil
 
V

Van T. Dinh

Sorry, I haven't heard of this error.

It is possible that mousewheel.dll has some dependencies that is not
available from your new PC. There was a site that list dependencies of
these files but I lost the Web address.

Someone else may have this Web address handy?
 
T

TheScullster

Solution found!
I had been trying to run regsvr32.exe logged in as user. Mousewheel
registers correctly when logged in as local admin.....doh

Thanks to all respondents

Phil
 
V

Van T. Dinh

Thanks for letting the newsgroup know the solution.

Sorry, I always do these things as Admin and didn't think of the possibility
that you were having problem registering DLL / ActiveX as normal user.
 
Top