Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot View PDF with ShellExecute
Message
De
10/10/2012 10:55:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01554652
Message ID:
01554663
Vues:
43
>Hi.
>Have the code below to view a PDF file, but file is not displaying on a new PC added to a network.
>All others can see the PDF file
>Also, if user goes in in Windows Explorer, PDF file comes up if user clicks on it, so Adobe seems to be installed ok
>Any ideas ?
>Tia
>Gerard
>
>
>&& -----------------------------------------------------------------
>&& Show the PDF file
>DECLARE Integer ShellExecute IN "Shell32.dll" ;
>    INTEGER hwnd, ;
>    STRING lpVerb, ;
>    STRING lpFILE, ;
>    STRING lpParameters ,;
>    STRING lpDirectory, ;
>    LONG nShowCmd
>lcPDFFile = lcPdf
>=Shellexecute(0,"Open",lcPdfFile,"","",3)
>&& -----------------------------------------------------------------
>
What is the return value of ShellExecute?
lnRetVal =Shellexecute(0,"Open",lcPdfFile,"","",3)
WAIT WINDOW lnRetVal
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform