Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Word Merge - Locating Print Spooling Status
Could anyone tell me the property in Word that tells the status of a print job spooling. My program in VFP6.0 instantiates a COMM object for Word.application and performs a wordmerge. The problem is in the following code:
oWord.documents.open("c:\mymrge.doc")
oWord.ActiveDocument.MailMerge.Execute
oWord.Quit(0)
The quit command is executed before the merge document has completed spooling to the printer, thus causing an error. I need to be able to check some sort of "print property" to tell if the document has finished spooling to the printer, before executing the Quit method.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement