Results 1 to 8 of 8

Thread: Runtime error '429' - ActiveX component cant create object

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Location
    oxford, UK
    Posts
    149

    Runtime error '429' - ActiveX component cant create object

    I need to install an application which has been written and compiled in VB5, and has been packaged in to 4 setup disks (ages ago).

    It seems to install OK on one machine, but when I run it it says:

    "runtime error '429' - ActiveX component cant create object"

    Presumbably it is having problems registering a .dll but there are at least 10 of them (one a class that contains user written code, and the rest being standard VB type JET DAO things).

    Also when I try and install the app on a different PC it cant cos it cant access a file (that is clearly there and has full access!)

    Do I need to try and create a new version of the package and deployment caboodle again?

    thanks
    Kester

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Make a new setup and make sure that the setup disks aren't damaged.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Location
    oxford, UK
    Posts
    149
    I should have pointed out that the setup disks that were initially created, are on a network so presumably are not physically damaged!

    Also I did try packaging it again (after I got hold of VB5) but it still only runs on my PC (the one I compiled it on) and installs, but fails when run with above same error on all other machines.

    It must be due to some problem with the compiled class .dll file or others that are maybe missing on others PCs?

  4. #4
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Make sure that all of the DLLs that the program needs are being included in the setup. P&D Wizard doesn't always find them.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Location
    oxford, UK
    Posts
    149
    thnx for quick reply and suggestion!

    how does one know all the .dll's that one needs? The main .vbg consists of 2 .vbp's that compile to an .exe and an .dll.

    P&D grabs loads of others such as jet35dao.dll etc.

    Is it possible that it will only run on PCs that have VB5 environment installed and not on others. if so which files could it also need?!

    thanks
    Kester

  6. #6
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Go to each project; go to the project menu, and select references. Highlight each checked item in the dialog box, and write down the names of the DLLs that are associated with the projects' references. Make sure you do this for both projects! The list is all the DLLs you should need.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Location
    oxford, UK
    Posts
    149
    I think that has solved it!! I found the file it wasn't grabbing and manually added it.

    thank you ever so much, as I was really getting desperate!

    kester

  8. #8
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253
    It could be a versioning issue. To ensure it isn't

    (i) Set Binary Compatibility
    (ii) Ensure all objects are created with CreateObject, rather than using the New keyword

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