WFCADO Demonstrates Using WFC ADO with Visual J++ 6.0


The WFCado sample demonstrates recordset navigation, insertion, update, and
other ActiveX Data Objects (ADO) Recordset methods using the Windows
Foundation Classes (WFC) version of ADO.


The following files are available for download from the Microsoft
Download Center:
Release Date: OCT-06-1999

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 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.

Wfcado.exe contains the following files:

FileName Size (KB)

adoCon.class 1 1
adoConstants.class 1
codebase.dat 1
Form1.class 2
RS.sln 1
RS.suo 5
RS.vjp 5
student.mdb 116
WFCado.class 9 9
The sample looks for the file Student.mdb in the C:\ root directory. Either
move the enclosed Student.mdb file to C:\ or change the strCon string in

The class is included so that you can use ADO constants instead
of redefining those.

WFC/ADO provides a more convenient API to access ADO methods from java than
accessing ADO from a COM wrapper. For example, with WFC/ADO, many methods
accept native java types rather than VARIANTS as arguments.

You need to have ADO 2.x installed to run this sample. You can get ADO from
the Microsoft Data Access Software Development Kit (SDK) and the Microsoft
Data Access Components Version 2.0 from the following Web site:


For additional information, please see the following article in the
Microsoft Knowledge Base:

181733 FILE: Adovcbtd.exe #import Using UpdateBatch and CancelBatch

Id. de artículo: 194813 - Última revisión: 02/14/2017 - Revisión: 1

Microsoft Visual J++ 6.0 Edición estándar, Microsoft ActiveX Data Objects 2.1 Service Pack 2