Link to home
Start Free TrialLog in
Avatar of rlindsay58
rlindsay58

asked on

Run-Time Error '429': ActiveX component can't create object

I have a simple Access contacts data base that I have used for years.  It began as an Access 97 Contacts Template and I have made many additions since then.  It uses a switchboard to control contact searches and report queries.  Searches are driven by 2 simple combo boxes tied to search/match queries; one for contacts and one for client names.

The program was begun with Windows 2000 / Access 97 and was eventually upgraded to Access 2002 several years ago; everything working fine.

Three weeks ago I began using a different laptop with Windows XP and Office 2003 and transferred my database.  After this change, when I attempt to search for a contact or a client using either combo box, I now get an error message in a Microsoft Visual Basic message box:  Run-time error 429: ActiveX component cant create object.  The error message gives me options to End or Debug.

When I start to debug, the code line in yellow is:  Me.RecordsetClone.FindFirst [ContactID] =  & Me![Combo55].

Steps I have taken:

I sent the database to another computer also with Windows XP and Office 2003 and the data base Combo boxes work as designed.

I uninstalled Office 2003 and reinstalled a totally different copy of Office 2003  no change, still the same error messages.

I uninstalled Office 2003  reinstalled my old Office XP -Access 2002  no change, still the same error messages.

I have registered the DAO350.DLL using regsvr32 "C:\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL successfully, as mentioned in another  solution on this website  no change, still the same error messages.

I have deleted the combo boxes and attempted to rebuild new boxes and get the following Microsoft Access Message Box error message:  ActiveX Component cant create object.

Every other part of the database works fine and all the switchboard command buttons work correctly.  All queries work and all reports print correctly.  My only issue is with the two  search combo boxes.

Any suggestions would be appreciated.
ASKER CERTIFIED SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rlindsay58
rlindsay58

ASKER

No references marked as missing.  Only four are checked 1. VB for Applications, 2. Microsoft Access 10.0 Object liabrary 3. OLE Automation and 4. Microsoft DAO 3.6 Object Library.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
TaeSoft:

I imported as you suggested, still get the same error message and all the references are the same as original mentioned above.

r58
TaeSoft:

At the risk of  showing my lack of knowledge --   This data base worked on Win2000/Access 2002, then on XP/Office 2003 I started getting the error message, I uninstalled the Office 2003, reinstalled my old Office XP 2002 as before and now I have the same error message.  Seems like it has to be an issue with WinXP or VB6?  
r58
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dear rlindsay58,

I've struggled a lot with Access too in the past.  But I think your problem lies with ocx.

I think the combo's you are using are obsolete in the newer version.  

Can you reinstall the old ocx for these comoboxes?

In the other case,
if you are out of time,
I would delete the combos in all the forms and re-create them with the latest versions.

I think VB6 doesn't have anything to do with it.

I hope it helps.

Kind regards,
TaeSoft
Correction about the VB6,

Maybe you've used an ocx comming from VB6 that is now not installed anymore and you need to have it.

But to be sure:
- Check the old accessfile to see what kind of control the combo is.
- Look up with which dll this activeX is installed and install it on your new pc.

Kind regards,
TaeSoft.
TaeSoft:

I failed to mention that when I transfer the data base to other computers also using WinXP and Office 2003, the combo boxes work fine.  The problem, it seems, is limited to just my laptop???  I have tried to rebuild the combo boxes and get the error message that "ActiveX component cannot create object".

When I get a chance I will try Steve's suggestion of unchecking the DAO and then rebuilding.

Thanks for all your suggestions; I appreciate  you advice.

r58
Let me know,

I'm curious too.
Maybe a stupid question.
Do you have VB6 Intalled?
The references checked on the computer where the database works correctly are the same as the references checked on my laptop.  The "only difference" is the working computer refers to Microsoft Access 11.0 Object library (this computer has Access 2003) and my laptop refers to Library 10.0 (using Access 2002 currently).  

When I tried Steve's suggestion and unchecked the DAO (identified as DAO 3.6) my laptop rebuild DAO 3.5 (DAO 3.6 no longer listed) and still the same error message.

TaeSoft:
I am pretty certain I have VB 6 because it is located in my Win Directory identified as VB6.

I need help on your suggestion -- "Maybe you've used an ocx comming from VB6 that is now not installed anymore and you need to have it.

But to be sure:
- Check the old accessfile to see what kind of control the combo is.
- Look up with which dll this activeX is installed and install it on your new pc."

How do I identify the type of control my combo box is?  Sorry for a stupid question??? Once I Identify the type of control, how do I check "which dll the activeX is installed etc.....

r58
I have solved my problem.  I split the points between all who steered me to the references as being my problem.  None of the suggestions were exactly correct but all were close.  What I did was uncheck DAO 3.6 in the references, then "browsed" to DAO 3.6 in the Microsoft Shared Folder in Common Files and selected DAO 3.6.  That solved the problem, must have been some type of disconnect between the Shared Folder and References.

Thanks ALL for your suggestions.

r58
Glad you have it resolved :-)
Well done and thanks.