Article ID: 172403 - Last Review: March 2, 2005 - Revision: 3.4 How to Use ADO with Visual BasicThis article was previously published under Q172403
For a Microsoft Visual Basic .NET version of this article, see 308656
(http://support.microsoft.com/kb/308656/EN-US/
)
.
On This PageSUMMARY
Adovb.exe is a self-extracting compressed file containing sample code that
demonstrates how to use ActiveX Data Objects (ADO) within Visual Basic.
MORE INFORMATIONThe following file is available for download from the Microsoft Download Center: http://download.microsoft.com/download/vb60pro/demo/1/WIN98/EN-US/AdoVB.EXE
(http://download.microsoft.com/download/vb60pro/demo/1/win98/en-us/adovb.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.
Collapse 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:
REFERENCESAbout 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:172403
(http://support.microsoft.com/kb/172403/EN-US/
)
FILE: Adovb.exe Demonstrates How to Use ADO with Visual Basic
220152
(http://support.microsoft.com/kb/220152/EN-US/
)
Sample: ADOVC1 Simple ADO/VC++ Application
185033
(http://support.microsoft.com/kb/185033/EN-US/
)
FILE: Adoacc.exe Demonstrates Using ADO with Access 97
APPLIES TO
| Article Translations
|
Back to the top
