Does Anyone know how to programatically open a word doc embedded in a general field using the following typical word operations. These work OK if I have a doc called MyDoc.doc. But how do I do this with a general field?
* ... oWord is initialized elsewhere ...
If VarType(oWord) != "O" .or. oWord.name != "Microsoft Word"
oWord = CreateObject("Word.Application")
EndIf
oWord.Documents.Open( "MyDoc.doc" )
oWord.PrintOut()
oWord.Documents.Close()
oWord.visible = .f.
oWord.Quit()
Ron Seidl
Independent Developer
VFP
"I'm playing in life's theater in anticipation of a great cast party!"