?
Solved

MS Remote Data Object (MSRDO20.DLL) Could Not Be Loaded

Posted on 2005-04-18
4
Medium Priority
?
441 Views
Last Modified: 2013-11-13
Hi,
I am working on a project (EXE) in VB Studio 6. (SP5) and Apart from MS Windows NT Control and MS Winsock control 6 I need to connect to ODBC database.

For this purpose I wanted to include a MS Remote Data Object 2.0. Right?

So I went to Components, but is is not available there. So I do BROWSE for MSRDO20.DLL in system32 folder, find the DLL, selcet it. OK? Now I clik on APPLY and I get a message:

C:\WINDOWS\system32\MSRDO20.DLL could not be loaded.

I tried to get a newest dll from internet, saved it in the project path.. no difference.

Please, what am I doing wrong? Is there any prerequisity for this control? Or can't I use it in standart EXE project? I thought I can.

And probably does it matter that I have Win 2003 Server as my OS? I have no chance to test it on XP or 2000 at the moment.

Any advice apreciated.

Thanks
0
Comment
Question by:Pedro Keson
  • 2
  • 2
4 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 800 total points
ID: 13804899
For accessing your odbc-database, you don't need MS Remote Data Object 2.0
You'll need MS ActiveX data objects 2.x library
To what database are you connecting ? For the connectionstring, take a look at http://www.connectionstrings.com/
0
 

Author Comment

by:Pedro Keson
ID: 13805009
Well, Dhaest,
I will give it a try. I need to prepare the APP so that it will be communicating with multiple ODBC databases. For testing now with MS SQL and Access.
It is saving just a simple queries into the database.
Thanks anyway, i will let you know.

P.
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 13805153
0
 

Author Comment

by:Pedro Keson
ID: 13807186
MEA CULPA, MEA CULPA!

I was completly wrong. I was adding the DLL in components instead of references. I am sorry for taking your time.
Both MS Remote Data Object and MS ActiveX data objects are available and working fine!

No I created a generic SQL function which creates connection and recordset and everything works just great!

Thanks for the help.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

840 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