Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PrintOut(0) forces a save
Message
From
07/07/2001 17:41:48
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00527723
Message ID:
00527822
Views:
34
>>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.

These constants are not available from Visual FoxPro. What is the value?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform