Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute, download files
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
ShellExecute, download files
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01574206
Message ID:
01574206
Vues:
58
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)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform