Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a cursor from VFP COM server
Message
From
12/01/2000 15:52:10
 
 
To
12/01/2000 05:42:36
Juan Kh
Dataprop Technologies
Sungai Petani, Malaysia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00316780
Message ID:
00317233
Views:
15
>Hi,
>
>I am working on a simple VFP COM server. I would like to know how to return a VFP cursor to the VFP client app. It would be great if someone can show me the method.

The simple answer is you can't - VFP cursors do not creoss COM boundries. There are workarounds:

(1) Pass an ADO Recordset
(2) Pass the data as XML
(3) Save the cursor in a table in a common shred directory and pass the full path of the table back.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform