Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot View PDF with ShellExecute
Message
 
À
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:
01554678
Vues:
42
Hi Boris. Thanks for replying.
I will have to recompile, deploy on site, and then I can figure this out
What should it be for a successful display ?
Only want to Wait Window if its not successful
Regards,
Gerard


>>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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform