Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PrintOut(0) forces a save
Message
 
 
To
07/07/2001 11:46:48
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00527723
Message ID:
00527816
Views:
36
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform