>>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)