Results 1 to 9 of 9

Thread: [RESOLVED] Activex Component Can't create object error ?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    222

    [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.

  2. #2
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    222

    Re: Activex Component Can't create object error ?

    Hello;
    I didn't use ADODB on this project

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    222

    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

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Activex Component Can't create object error ?

    Well, not letting someone look at it won't solve the problem...

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    222

    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

  8. #8
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    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

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    222

    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
  •  



Click Here to Expand Forum to Full Width