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

ID: Q226503


The information in this article applies to:


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 Software Library:

WfcAdoEvent.exe
Release Date: June 3, 1999

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services

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://www.microsoft.com/data

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


REFERENCES

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

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

Additional query words:


Keywords          : kbfile kbADO kbDatabase kbVJ kbDSupport 
Version           : WINDOWS:2.0,2.1,6.0
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: June 4, 1999