Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE to Word
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00147523
Message ID:
00147663
Vues:
29
>>I am doing an OLE into MS Word and everything is is fine except
>>when I issue a FilePrint then I Quit Word. Word is not finished printing and
>>will ask if you want to stop print job.
>>Is there a way to detect if Word is done printing before I shut it down?
>
>
IF TYPE('ThisForm.oWord') = 'O' AND NOT ISNULL(ThisForm.oWord)
>	DO WHILE ThisForm.oWord.BackgroundPrintingStatus > 0
>		DOEVENTS()
>	ENDdo
>	ThisForm.oWord.DisplayAlerts = wdAlertsAll
>	ThisForm.oWord.Quit()
>ENDif
here it is...

oWord.toolsoptionsprint(,,,,,,,,,,,0,,,) && Turns off background printing
oWord.toolsoptionsprint(,,,,,,,,,,,1,,,) && Turns it back on
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform