Article ID: 172403 - View products that this article applies to.
This article was previously published under Q172403
For a Microsoft Visual Basic .NET version of this article, see 308656
Adovb.exe is a self-extracting compressed file containing sample code that demonstrates how to use ActiveX Data Objects (ADO) within Visual Basic.
The following file is available for download from the Microsoft Download Center:
http://download.microsoft.com/download/vb60pro/demo/1/WIN98/EN-US/AdoVB.EXEFor additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591Microsoft 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.
(http://support.microsoft.com/kb/119591/EN-US/ )How to Obtain Microsoft Support Files from Online Services
Collapse this tableExpand this table
What Adovb DemonstratesAdovb demonstrates proper use of output and return parameters (for SQL Server), and opening a parameterized recordset for both a Microsoft Access and SQL Server data sources. Also included is a generic template for error handling with ADO code:
About the ADO* Series of SamplesThis is one of several identical samples implemented using ADO within various products, as listed below. The advantage is that these articles have an identical interface/functionality, demonstrating both the similarities and differences in using ADO with different languages / mechanisms:
(http://support.microsoft.com/kb/172403/EN-US/ )FILE: Adovb.exe Demonstrates How to Use ADO with Visual Basic
(http://support.microsoft.com/kb/220152/EN-US/ )Sample: ADOVC1 Simple ADO/VC++ Application
(http://support.microsoft.com/kb/185033/EN-US/ )FILE: Adoacc.exe Demonstrates Using ADO with Access 97
Article ID: 172403 - Last Review: March 2, 2005 - Revision: 3.4
Contact us for more help
Connect with Answer Desk for expert help.