Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PrintOut(0) forces a save
Message
 
 
À
07/07/2001 11:46:48
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00527723
Message ID:
00527816
Vues:
37
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform