General information
Category:
COM/DCOM and 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!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only