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

ID: Q226503


The information in this article applies to:
  • ActiveX Data Objects (ADO), versions 2.0, 2.1
  • Microsoft Visual J++, version 6.0


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. Click the file name below to download the file:

Wfcadoevent.exe
Release Date: Jun-3-1999

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

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: January 18, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.