Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating VFP from Word
Message
From
02/06/2008 11:09:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
02/06/2008 11:02:35
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01320978
Message ID:
01321002
Views:
20
>>I have seen quite a lot of samples of VFP controlling Word or Excel, but I would like to see something the other way round - a Word macro that does something - anything - with Visual FoxPro. Any sample, to help me get started, would do.
>>
>>TIA,
>>
>>Hilmar.
>
>
>Dim oVFP
>oVFP = CREATEOBJECT([VisualFoxPro.Application])
>oVfp.DoCmd(....)
>
>
>
>Never used it though.

So, I guess .DoCmd() can be set to any valid VFP command, right? Do you have any idea how data would be exchanged? E.g., do some VFP work, and get some result back to Word.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform