Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation Printing - Suppress Dialog?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01216832
Message ID:
01216850
Vues:
30
Try
oWord.DisplayAlerts = 0
>Hi All,
>
>I'm working on a Word Automation project where I need to automatically print a variety of user-created documents. Most of the time the printing goes fine, but every once in a while I'll get the following document printing error:
>
>"The margins of section 1 are outside the printable area of the page. Do you want to continue?"
>
>Of course, this hangs my automated process in that it's waiting for a user response.
>
>Does anyone know of a way to suppress this (or other) dialogs using Word automation?
>
>Thanks very much!
>
>-M@
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform