FILE: Adovj.exe Demonstrates How to Use ADO with Visual J++The information in this article applies to:
SUMMARYAdovj.exe is a self-extracting compressed file containing sample code that demonstrates how to use ActiveX Data Objects (ADO) with Visual J++.
MORE INFORMATIONThe following file is available for download from the Microsoft Software Library:
For more information about downloading files from the Microsoft Software
Library, please see the following article in the Microsoft Knowledge Base:
Configuring ADOVJ for Your ComputerThe ADOVJ sample uses an Access .mdb file, which is included with the sample, called Adodemo.mdb. You need to create an ODBC data source named AdoDemo and have it reference this .mdb file. In addition, one of the command buttons expects SQL Server to be available on your network, and defaults to a local server. If you do not have SQL Server on your local computer, then change the value of the assignment of the SQLServerName variable (SQLServerName = "YourSQLserver";) found in the InputOutputReturnParams() method in ADOCore.Java. Before building the sample, use the Java Typelib Wizard to import the ADO typelib. Invoke the wizard on the following:
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 and environments.
REFERENCESFor additional tips on using Java, refer to the Visual J++ documentation. You may also obtain information from the following Web site:
|
|
Last Reviewed: November 2, 1999 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |