Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Openning a .pdf
Message
De
13/01/2006 13:32:18
 
 
À
13/01/2006 13:07:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Divers
Thread ID:
01086598
Message ID:
01086643
Vues:
9
It's working.
Thank you Alex, it was helpful


>>I would like to open a .pdf file from a VFP desktop application. I'm puzzled because the acrobat is randomly placed in the clients workstations.
>
>As long as Acrobat or a PDF reader is installed, use Windows to open a file using the extension association.
>
>DECLARE INTEGER ShellExecute ;
>	    IN SHELL32.DLL ;
>	    INTEGER nWinHandle,;
>	    STRING cOperation,;
>	    STRING cFileName,;
>	    STRING cParameters,;
>	    STRING cDirectory,;
>	    INTEGER nShowWindow
>
>lcFilename = "sample.pdf"
>lcFolder = "c:\temp"
>RETURN ShellExecute( 0, "Open", lcFilename, "", lcFolder, 1)
>
C.Taveira
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform