Solved

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

Posted on 2009-05-04
4
7,197 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now