Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 and Word97
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00155685
Message ID:
00155709
Vues:
17
>For those of you who have done some development with VFP and Word97, I would like to know if you can help with the following:
>
>I generate bills in Word97 from VFP. However, when I try to perform a oWord.ActiveDocument.PrintOut followed by Word.ActiveDocument.Close and oWord.Quit. It appears that the print request has not had time to queue properly. I know that I can always place my program in a wait state and then attempt to close my document and Word, but that is bound to fail since my generated documents can vary in size. Is there any way through OLE automation that I can wait for the print job to queue prior to close/quitting commands to execute in Word?
>
>Thank you

Juan,
Probably because you have backgroung printing activated. I read a Qxxxxxx about it in the Microsoft knowledge base yesterday. If you have problem locating it, I'll make the search for you.

José
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform