>Here is my code:
>
>
>loWord=CREATE('Word.Application')
>loWord.Documents.Open('d:\myfile.doc')
>loWord.ActiveDocument.PrintOut(.F.)
>loWord.Quit
>
>
>That prints the document. I see the printer status in VFP. After, I have the message from Word if I want to save my document. If I don't print, I don't have this message.
>
>Might there be a setting in Word which forces the document to be saved if I print it?
Issue a loWord.QUIT(wdDoNotSaveChanges) instead.
Mark McCasland
Midlothian, TX USA