Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OWordObj.PrintOut Word To PDF
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01439477
Message ID:
01439634
Vues:
49
>Code Below works fine, but we do not need the Save As Dialog box to show up. Any ideas?
>
>From what we found, the driver "PDF-XChange for ABBYY PDF Transformer 2.0" has an option "Show 'Save As....'Dialog" that
>you can turn off under the Properties off the driver but need help turning that off if thats what we need to do
>
>
>oWordObj= CREATEOBJECT("Word.Application")
>oWordObj.Documents.Open('C:\foxpro\mytest.rtf') 
>oWordObj.ActiveDocument.Printout(.f.,.f.,0,'C:\foxpro\mytest.PDF')
>
Mike,

There are many pdf printers specifically designed for regular users of MS Office.
In most cases programmers cannot use them to print documents from the code because of user dialogs that need to be suppressed from the third application (like waiting for window with specified title, and send keys to it).
If to the contrary there are options for this product, then probably provider can answer you directly.

Just in case, I use Win2PDF for many years, and do not experience any problems.

Good Luck
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform