>Has anyone figured out how to open a file or save a file with the Microsoft Word ActiveX control in VFP 6.0? The control is nice because it gives you the Word editing toolbar and Menu with a couple of exception to help control what the enduser does.
Try this:
oWord=CREATEOBJECT("Word.Application")
oWord.wordbasic.fileopen("FullPathNameToDocFile")
oWord.Visible=.T.
This is just a little test. Watch the wordbasic stuff - all lower case (case sensitive).
I'm just starting a project that needs lots of word knowledge so I'm going out to buy a word basic book. I can throw more info your way after the weekend.