Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/172392

From BetaArchive Wiki

INFO: Programmer's Guide to Using ADO in Visual C++

ID: q172392

The information in this article applies to:

  • Microsoft Visual C++, 32-bit Editions, version 5.0


This article presents information that can be useful to anyone wanting to take advantage of the ActiveX Data Objects within Visual C++ version 5.0. The following topics are covered:

  • Implementations of ADO within Visual C++
  • How to find ADO Knowledge Base Articles
  • ADO Resources/Points of Information


Implementations of ADO within Visual C++

Any of the three methods can be used to get at the ADO typelib within Visual C++:

  • #import
  • MFC-OLE derived classes

Of the three methods, #import offers the easiest (meaning the least amount of code) method of getting at and manipulating ADO objects.

How to Find ADO Knowledge Base Articles

ADO is not a technology that ships with one particular product, and is not treated as its own product. To find ADO KB articles on the Web, connect to the following URL:

and then click "ActiveX Data Objects" as the Product.

For the MSDN or other non-Web-based KB search mechanisms, you can search on the keyword <adobj> that is contained in all ADO articles.

ADO Resources/Points of Information

ADO originally shipped with the OLE-DB SDK, so you should hit both the OLE-DB Web page as well as the ADO Web sites listed below:


For additional information, please see the following articles in the Microsoft Knowledge Base:

Q169496 INFO: Using ActiveX Data Objects (ADO) via #import in VC

Q175993 INFO: Using ActiveX Data Objects (ADO) via MFC OLE in VC++

Q176342 INFO: Using ActiveX Data Objects (ADO) via OLE SDK in VC++

Additional query words:

Keywords          : kbVC500 
Version           : winnt:5.0
Platform          : winnt 
Issue type        : kbinfo 

Last Reviewed: June 25, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.