|
-
Apr 16th, 2006, 01:59 PM
#1
Thread Starter
New Member
ActiveX component can't create object
Hi all,
I've got a program that someone wrote for me (to manage databases and make report of them). I don't have the source code of it, only the setup files.
The Problem
------------
When I install and use it on Win98, everything works perfectly. But when I install it and run it on WinXP SP2, I recive the following error: "ActiveX can't create object". This error occure when I'm trying to produce a report and print it.
I have no idea what component is it and I can't reach the programer who made it, so I can't ask him as well...
Any idea ? I have to run it on XP machine.
-
Apr 16th, 2006, 02:21 PM
#2
Re: ActiveX component can't create object
Long Shot:
because an dll or active(x) component isn't installed correctly.
in Win 95 and 98 another directory is used compared to win NT, 2000 and XP
the installer didn't tried to install in the system32 directory.
 why can't programmers keep and 31 Oct and 25 dec apart. Why Rating is Useful
for every question you ask provide an answer on another thread.
-
Apr 16th, 2006, 02:33 PM
#3
Thread Starter
New Member
Re: ActiveX component can't create object
What should I do ?
how can I fix it ?
Can I "tell" the installer to consider the system32 folder ?
-
Apr 17th, 2006, 02:05 PM
#4
Fanatic Member
Re: ActiveX component can't create object
Open windows explorer and locate the file/dll.
Click the start button and go to RUN.
Type : regsvr32 And from the windows explorer drag the file to the text box where you entered the regsve32 command.
Click run and it should install the dll.
Good luck!
-
Apr 17th, 2006, 03:16 PM
#5
Thread Starter
New Member
Re: ActiveX component can't create object
 Originally Posted by juliemac
Open windows explorer and locate the file/dll.
Click the start button and go to RUN.
Type : regsvr32 And from the windows explorer drag the file to the text box where you entered the regsve32 command.
Click run and it should install the dll.
Good luck!
I would be glad to try it if would just know waht file/dll is it.....
How can I figure out what file/dll that cuse the problem ?
-
Apr 24th, 2006, 02:12 PM
#6
Thread Starter
New Member
Re: ActiveX component can't create object
-
Apr 24th, 2006, 03:41 PM
#7
Re: ActiveX component can't create object
 Originally Posted by eliavm
I would be glad to try it if would just know waht file/dll is it.....
How can I figure out what file/dll that cuse the problem ?
well this error generally occurs when COM objects like dll or ocx required by the application are not installed properly.
it could be any one DLL or OCX, or maybe more than 1. it could be even the standard VB runtimes required to run the application, that the setup failed to install properly.
install the application, then right click the application exe file and goto Dependency Walker. it lists all the dll/ocx or other COM objects which are required by the application. if there are many then it could be a problem for you but if there are just few of them then you can install them one-by-one using regsvr32 method posted above.
you can install standard VB runtime libraries. either search MSDN or take a look here
word of caution: it is generally not recommended to install COM objects without proper documentation. they may be dangerous to your system.
-
Apr 25th, 2006, 10:34 AM
#8
Thread Starter
New Member
Re: ActiveX component can't create object
I used Dependency Walker on my program's exe file and saw lot's of dll it uses. On the buttom of the window I see the following messages:
* Warning: At least one delay-load dependency module was not found.
* Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
How can I trace the curropt/unregistered dll ?
-
Apr 25th, 2006, 03:46 PM
#9
Re: ActiveX component can't create object
 Originally Posted by eliavm
I used Dependency Walker on my program's exe file and saw lot's of dll it uses. On the buttom of the window I see the following messages:
* Warning: At least one delay-load dependency module was not found.
* Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
How can I trace the curropt/unregistered dll ?
it is very difficult to tell without actually seeing the results.
but 2 things i would like to say:
1) use help file of the application. search for Module Dependency Tree View in the help file of Dependency walker. it has legends to show if COM objects have some errors or not. maybe using that, you may get it yourself where the problem lies.
2) if you are sure that the main problem lies with the Application (EXE file), please ask moderators to move this thread to appropriate forum. this one, in that case, comes under Application Deployment forum.
hope it helps you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|