The information in this article applies to:
SUMMARYThe Adovcbm.exe sample demonstrates Bookmarks, recordset traversal, GetRows and other ActiveX Data Objects (ADO) Recordset methods using smart pointers and #import. Using #import is the preferred way for Visual C++ programmers to use ADO. MORE INFORMATIONThe following file is available for download from the Microsoft
Download Center. Click the file name below to download the file: ADOVCBM.exeFor more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. It is not necessary to use the absolute path for the ADO .dll file. You can add the path to Visual Studio IDE from the Tools menu under Options. Select the Directory tab and add the path to the Library files list, which allows you to use the statement:
The database file Adostudent.mdb is included with the sample. The sample
opens a database connection with a DSN-less ConnectionString, so you do not
need to specify a data source name (DSN).
The function CrackStrVariant takes a variant and returns a CString. This function was copied in its entirety from the DAOVIEW sample that ships with Visual C++. © Microsoft Corporation 1999, All Rights Reserved. REFERENCESFor additional information on ADO recordset manipulation using UpdateBatch and CancelBatch, click the article number below to view the article in the Microsoft Knowledge Base: Q181733 FILE: Adovcbtd.exe #import Using UpdateBatch and CancelBatch Additional query words:
Keywords : kbfile kbGrpMDAC |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |