Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a recordset to a VFP Com Server from VB
Message
From
29/05/2001 05:13:12
 
 
To
29/05/2001 04:50:13
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00511588
Message ID:
00512097
Views:
11
Hi!

Try to install latest version of the ADO. I hove no other idea. Here recordsets passed very well that way even through DCOM between remote computers.

>Thanks Vlad
>
>the recordset that is returned from my server has these propreties except that the CursorLocation property is
>CursorLocation = adUseClientBatch
>The object appears to be passed back to my com server but VB throws up the following error when I try to access the recordcount property for the recordset
>
>"OLE error code 0x80020006: Unknown name"
>
>the code in the com server procedure is:
>
>PROCEDURE passrecordset
> LPARAMETERS rs
> nCnt = rs.recordcount
> .....
>
>TYPE("rs") returns "O"
>but TYPE("rs.recordcount") returns "U"
>
>Any more thoughts?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform