Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning multiple vars from VFP COM object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00278278
Message ID:
00278287
Vues:
16
I would stay far from arrays, they are not the easiest to work with. I would suggest:

- Create one property in the COM for each values you want to pass back and take these properties from Word, or
- Create an object that contains all the values and pass this object to Word

XML and ADO seem overkill for me in this situation.
>I've built a VFP com object that is called from Word. It passes a filenumber to the com object which runs a select and returns a string. I was wondering what the "best practices" way might be for returning multiple vars from VFP. I know I can build a string and parse that, and I guess XML might be a possibility, but what about arrays, etc. Any ideas appreciated!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform