The example AdoRS.prg demonstrates convertion of a VFP-cursor into ADO Recordset and shows last by using MS DataGrid control.
Here is shown as it is possible to use OLE control (ActiveX) from a code too.

It are involved: 
 - Vfpcom.dll (VFPCom.ComUtil) [see: VFPCOM Utility on http://msdn.microsoft.com/vfoxpro/downloads/updates.asp] 
 - MSDATGRD.OCX (MSDataGridLib.DataGrid.1)
 - Msado21.tlb (ADODB.Recordset)
 - Employee.dbf from D:\Program Files\Microsoft Visual Studio\MSDN\99OCT\1033\SAMPLES\VFP98\data\Testdata.dbc

Best regards.
Michael Drozdov, ICS Soft, Perm, Russia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mailto:Drozdov ics.perm.su
My Page: http://vfpdmur.narod.ru/
ICS Page: http://ics.perm.ru/ [on Russian]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~