Information générale
Catégorie:
COM/DCOM et OLE Automation
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement