>Hi,
>
>Has anyone used the Word Document activeX control in VFP 7.0?
>What I want to do is drop the activeX control on my form and them open a Word document with a click of a button at run time.
>It sounded like a simple task but I am stuck.
>
>Einar
Use OleBoundControl or better MS Word Automation.
e.g.
Local loWord AS Word.Application
loWord = CreateObject('Word.Application')
loWord.Visible = .t.
loWord.Documents.Add()
HTH
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!