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:
00147602
Vues:
33
>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
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform