Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PDF and VFP data on first page
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01530528
Message ID:
01530534
Vues:
59
>A Report header?
>

and using the code below to print the PDF...
LOCAL lnRetval, lcFile, lcOperation
lcFile = "\PHARMACY\NoticeofAppeal.pdf"
* Right click a file in Windows Explorer to see what other operations are available, for example Print
lcOperation = "Open"

DECLARE INTEGER ShellExecute IN SHELL32.DLL ;
INTEGER handle,;
STRING @sFile,;
STRING @lp,;
STRING @dir,;
STRING @dir1,;
INTEGER ncmd
lnRetval = ShellExecute(0, lcOperation, lcFile, "", "", 1)
IF lnRetval = 31 && Acrobat is not installed
	loAdobeAcrobatForm = CREATEOBJECT("frmAcrobatLink")
	loAdobeAcrobatForm.show				
ENDIF
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform