Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run Time Error 429

Status
Not open for further replies.

bigfigkid

Programmer
Feb 18, 2003
26
0
0
CA
Sorry about this dumb question, but this is the first time I have used the package and deployment wizard to make insallation files for a program I have devised which uses the com port. Why do I get the following error when trying to run a compiled program on a computer without visual basic ? and how do I fix this...

active x component can't create object

Your help greatly appreciated
 
Hard to say what it exactly pertains to, or rather, which Dll it pertains to.

Some dll which your program uses is either missing/defect, not registered (correctly), or a wrong version on the client machine.

You will need to track the down by trying to find out first, when this exactly happens (what piece of code is being executed at the time the error happens)

Make sure you have VB6 SP 5.

If your program uses ADO, then make sure you are shipping the MDAC along with the installation program.
Also, you need to make sure the db provider is also being inculded, if it is not included automatically by the P&D or included in that version of MDAC which you shipped with your program.

Also, some DLLs/Ocxs need other files top run, which may not be automatically included in your installation for whatever reasons (missing dependency file, or missing references in the dependency file).

Look in the VB directory for a text file called Redist. Look at the files listed for authorized distribution and compare them with the files listed in your VB project under PROJECT|REFERENCES and PROJECT|COMPONENTS.
Any ones not listed, and not included in the MDAC or a db provider file which you are including, are ones which I would look closesly at to see if one of these is causing the problem.
What other references/components are you using not listed in the redist list?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top