Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a recordset to a VFP Com Server from VB
Message
 
 
À
29/05/2001 04:50:13
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00511588
Message ID:
00512097
Vues:
12
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform