SAMPLE: WFCADOevent.exe Demonstrates ADO Events in ADO with Visual J++ 6.0 (226503)



The information in this article applies to:

  • ActiveX Data Objects (ADO) 2.0
  • ActiveX Data Objects (ADO) 2.1
  • Microsoft Visual J++ 6.0

This article was previously published under Q226503

SUMMARY

WfcadoEvent.exe is a sample that demonstrates the ADO Event mechanism with WFC/ADO Java.

The WFCadoEvents project builds on the WFCAdo sample by adding ADO events to the original WFCAdo code. The sample demonstrates both connectionEvents and RecordsetEvents. For more information on the WFCado sample see the References section.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
Release Date: Jun-3-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.

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 openConn(). After extracting the files, start Visual J++ by activating the file RS.sln.

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:

http://msdn.microsoft.com/dataaccess

adoCon.java 827
codebase.dat 58
RS.sln 501
RS.suo 3584
RS.vjp 4574
student.mdb 118784
WFCado.java 9497

REFERENCES

194813 WFCADO Demonstrates Using WFC ADO with Visual J++ 6.0

206452 SAMPLE: Spvjado Demos Using Stored Procedures from WFC/ADO/Java

Modification Type:MinorLast Reviewed:8/5/2004
Keywords:kbdownload kbDatabase kbfile kbhowto KB226503 kbAudDeveloper