Solved

Microsoft ActiveX Data Objects 6.0 Library "Object libreary not register"

Posted on 2009-05-04
4
7,438 Views
Last Modified: 2013-11-26
I am getting this message:

Microsoft ActiveX Data Objects 6.0 Library  Error: Object library not register

What does it mean?

If its a file, where can I find it and download it?
0
Comment
Question by:rayluvs
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
JackOfPH earned 500 total points
ID: 24301096
VB6 right?

ADO 6.0

ADO 6.0 is included in Windows Vista, as a part of the Windows Data Access Components (Windows DAC) 6.0. ADO 6.0 is functionally equivalent to ADO 2.8.
As discussed here: http://msdn.microsoft.com/en-us/library/ms676506(VS.85).aspx


If you are using vista machine, you do not have problem installing it because it is already included in vista. If you are using xp or later, no need to use ADO 6.0 because its functionality is equivalent to ADO 2.8.


Usefull thread for you to read...

http://www.vbforums.com/showthread.php?t=527673
0
 

Author Comment

by:rayluvs
ID: 24303263
My developing PC has XP, VB6 SP6 and VBA 6.5.  The apps developed are for XP pc in the LAN, but there 1 or 2 Vista box.

My initial question came because in my VBA I was importing a package called "Microsoft ActiveX Data Objects 6.0 Reference package" from collegue and got the error above.  When I go to the Reference it does have Checkmark "Microsoft ActiveX Data Objects 2.8 Library"

Waht can be causing the error?

The package contents:
--------------------------------------------------------------------
<Component Name="Microsoft ActiveX Data Objects 6.0 Library" ProductId="0" Object="VBAReference" >
VBAReference      "Microsoft ActiveX Data Objects 6.0 Library"
{
      FilePath      "C:\\Program Files\\Common Files\\System\\ado\\msado15.dll"
      Guid      "{B691E011-1797-432E-907A-4D8C69339129}"
      MajorVersion      "6"
      MinorVersion      "0"
}
</Component>
--------------------------------------------------------------------


0
 
LVL 15

Assisted Solution

by:JackOfPH
JackOfPH earned 500 total points
ID: 24310649
Don't use Microsoft ActiveX Data Objects 6.0 Library if you are developing under windows XP, because it shipped under vista, instead use Microsoft ActiveX Data Objects 2.8 Library.
0
 

Author Comment

by:rayluvs
ID: 24660064
We resolved...the truth, we did various things and when all of the sudden it was fixed; unfortunately, couldn't identify proper solution so we can post here.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

777 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