Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute, download files
Message
De
17/05/2013 11:57:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01574206
Message ID:
01574211
Vues:
51
google dowloadurltofile ;-)

>I am using ShellExecute to download files, but it only saves in windows default folder.
>Is there a way to choose folder to save a file from a url ?
>
>
>DECLARE INTEGER ShellExecute in shell32.dll ;
> INTEGER hwnd, STRING @lpOperation, STRING @lpFile, STRING @lpParam, ;
> STRING @lpDir, INTEGER nShowCmd
>
>Local lcUrl, lcOp
>lcOp = "open"
>lcUrl = url_to_download
>
>*ShellExecute(0, @lcOp, @lcUrl, .NULL., .NULL., 5)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform