There is a sample in the solutions project that that came with VID 6
SET DEFAULT TO "c:\program files\microsoft visual studio\msdn98\98vs\1033\samples\vfp98\solution"
DO solution.app (or DO solution.exe)
click on 'Active X'
click on 'Automation'
click on 'Automate a MSWord document in a form'
This example uses oForm.addobject('oWordDoc','olecontrol','word.document')
to create a word.document' object that can be places on the form. The example will show you mcuh more than I can describe here.
>I realize this work, but we were want to confine the space on the form with the ActiveX control in VFP 6. Createobject creates an external window which we do not want.
- jim durkin
"The universe is a big place, perhaps the biggest." Kurt Vonnegut