Article ID: 182389 - Last Review: March 2, 2005 - Revision: 2.3 Adovcbm.exe ADO 1.5 with #import and Getrows/BookmarksThis article was previously published under Q182389 SUMMARY
The 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: ADOVCBM.exe
(http://download.microsoft.com/download/vc50pro/sample/1/win98/en-us/adovcbm.exe)
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
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 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++. REFERENCESFor additional information on ADO recordset manipulation using UpdateBatchand CancelBatch, click the article number below
to view the article in the Microsoft Knowledge Base:
181733
(http://support.microsoft.com/kb/181733/EN-US/
)
FILE: Adovcbtd.exe #import Using UpdateBatch and CancelBatch
| Article Translations
|

Back to the top
