?
Solved

RDO object gives an error "Activex component cant create object". Explain?

Posted on 2002-06-07
12
Medium Priority
?
981 Views
Last Modified: 2013-12-25
I tried the code below which worked fine on my friends machine but is giving an error on my machine.

'Add a reference to Microsoft Remote Data Objects 2.0
Private Sub Form_Load()
    Dim en As rdoEnvironment
    Set en = rdoEngine.rdoEnvironments(0) 'Error Line.
    MsgBox "Successful!"    'Not reached
End Sub

I tried the following things.
1. Checked the dependency information for msrdo20.dll.
    Everything was fine.
2. Replaced the DLL from my frnds machine and
   reregistered it.    Still not working.

Please help..
0
Comment
Question by:mohan_nsrk
[X]
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
  • 6
  • 2
  • 2
  • +2
12 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7061751
Which error? VB5 or VB6? If VB5, you need the enterprise edition.

Have a look at http://support.microsoft.com/default.aspx?scid=kb;en-us;Q177799
0
 
LVL 18

Expert Comment

by:mdougan
ID: 7061965
RDO is more than just a single DLL.  If you want to run a VB program that does database access then generally you have to install the Microsoft Data Access Components first.  This is usually distributed by the program's Installation program by including the MDAC_TYP.EXE  as part of the installation.  This is a Self-Extracting Installation program for the Microsoft Data Access Components.  I think that MDAC includes RDO as well as ADO and DAO components.....
0
 
LVL 18

Expert Comment

by:mdougan
ID: 7061972
if your machine already has MDAC on it, then you might need to see what version you have.  It's possible that your friend has upgraded to a more recent version of MDAC that includes all of RDO v 2.0, and perhaps your version has an earlier version of RDO.  Again, bringing over just one file wont be enough.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:mohan_nsrk
ID: 7072312
I already have vb5 enterprise Edition and i tried installing MDAC 2.6 but its still giving me the same error.

please advise.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7073689
have you tried vb5cli.exe?

mdac won't help because it doesn't include RDO.
0
 

Author Comment

by:mohan_nsrk
ID: 7074635
Can you please send some details about this vb5cli.exe.
I tried searching it on microsofts' site but couldn't find it.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7074638
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 400 total points
ID: 7074640
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7128858
Any progress?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7297429
This question appears to be abandoned. A question regarding it will be left in the CleanUp
area; if you have any comment about the question, please leave it here.

Unless there is objection or further activity, one of the moderators will be asked to accept the comment
of <emoreau>.

The link to the Community Support area is:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7373272
0
 

Expert Comment

by:vdevarao
ID: 10552140
Hi
 I'm also having the same RDO problem with Vb6.0 professional.

I did referenced RDO2.0 object library. reregistered the RDO20.dll, but still gets the error when i say
Dim cn As New rdo.rdoConnection as Runtime error : 429 "Active X  Can't create Object".

Any suggestions please
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

719 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