General information
Category:
ActiveX controls in VFP
Title:
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only