|
-
Feb 13th, 2008, 02:02 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Activex Component Can't create object error ?
Hello;
I made setup package to install my program to client computer but after instalation on client computer program gives "Activex Component Can't create object" when try to run my app. I know miss some component to put my setup package or maybe there are corrupted component on it but i couldn't find which one.
How can i find missed or faulty component ?
Thanks
Last edited by levent; Feb 13th, 2008 at 08:12 AM.
-
Feb 13th, 2008, 02:03 AM
#2
Re: Activex Component Can't create object error ?
Does the Program use ADODB by any chance? If so then the MDAC version on the target machine may be out of date.
-
Feb 13th, 2008, 02:12 AM
#3
Thread Starter
Addicted Member
Re: Activex Component Can't create object error ?
Hello;
I didn't use ADODB on this project
-
Feb 13th, 2008, 02:34 AM
#4
Re: Activex Component Can't create object error ?
Without seeing something of what you are deploying it would be impossible to tell
Last edited by randem; Feb 13th, 2008 at 02:40 AM.
-
Feb 13th, 2008, 03:12 AM
#5
Thread Starter
Addicted Member
Re: Activex Component Can't create object error ?
Hello;
My project about structural analysis program.
I used some 3d party component like below
Activebar component
OsenXp Suite component
and AcpRibbon user control... and some vbasic component like commondialog,inet control,webbrowser control,richtextbox
I didn't put the AcpRibbon user control and themes.res file in first setup package and then tried compile with putting these files but it doesn't work still.
Thanks
-
Feb 13th, 2008, 03:36 AM
#6
Re: Activex Component Can't create object error ?
Well, not letting someone look at it won't solve the problem...
-
Feb 13th, 2008, 03:48 AM
#7
Thread Starter
Addicted Member
Re: Activex Component Can't create object error ?
Hello
is there any debug problem to understand which component give this error ?
Do you need code or setup program to solve problem ?
Thanks
-
Feb 13th, 2008, 06:34 AM
#8
Re: Activex Component Can't create object error ?
does the error occur after the program is running, or when it is opening?
i guess after it is running, if so, you need to write out to a logfile prior to creating any object, so you can tell at which point the error is occuring, make sure to close the file each time you write to it as if the app crashes while the file is still open it won't help you much
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Feb 13th, 2008, 08:10 AM
#9
Thread Starter
Addicted Member
Re: Activex Component Can't create object error ?
Thank for your helps
I removed every component from my project,tried to run step by step and then found the problem. Problem was cause because of registering ocx on Vista.
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
|