>Hello,
> I have access your web page and download some samples.
> But i still looking for the sample which enable me to retrieve the content of word97 document without showing the word97 interface....Do you have this sample or idea???
Try this:
* remove the public references after you test. They are there so you can
* reference from the command window
public lcword,oword
oword=create('word.application')
wrdfile='d:\myfile.doc'
endif
oword.documents.open(wrdfile)
oword.caption='Word97 Example'
oword.Application.Selection.WholeStory
lcword=oword.application.Selection.Text
*toggle visible to .f. to not see, .t. to view
oword.visible=.f.
? lcword
oword.quit
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright