Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


ActiveX can't create object. ( Error 429)

Posted on 1999-07-08
Medium Priority
Last Modified: 2010-05-02
I am automating word from VB 6.0 using the code "set oword = new word.application". I have registered the word8 object library.
On compilation and installation, using the packagfe & deploment wizard, on another users machine the 429 error occurs when the application tries to instantiate the word object eventhough they have word8 installed on their machine.
I have recompiled and reinstalled the program & VB6 on my machine but the problem persists. I suspect it is some problem with the registry. Can anyone help please?
Question by:jpmr
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Expert Comment

ID: 1522807
Correct me if I'm wrong:

1. set oword = new word.application works on your machine
2. set oword = new word.application fails on some other machine.

Is it correct?


Author Comment

ID: 1522808
It did work on my machine until I reinstalled Office and VB. Now the application does not work on my machine either. However it does on another collegues machine.

Accepted Solution

alex1234 earned 400 total points
ID: 1522809
OK, when you compiled your EXE on your machine you linked to COM interface of word.application object currently registered on your PC. The EXE was working on your PC fine. Then you tried to run it on different PC and it failed because that PC had different version of word.application (with different CLSID or TypeLib).

Do the following: once you've got it working on your PC make sure any other PCs have the same word.application object. To achive this unregister and remove Word from PC and install the same version as on your PC. Before installing you may want to clean up the registry by using RegCleaner.exe.

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 1522810
I have now tried running regclean and re-installing Office, but the application will not instantiate the word object.
Any further ideas? Should I re-install VB as well?

Expert Comment

ID: 1522811
You don't have to re-install VB.

Is this happening on the same PC where you compiled your application?


Author Comment

ID: 1522812
I have tried reinstalling office again and the problem has been resolved.
Many thanks for your time & effort.

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question