Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute, download files
Message
From
17/05/2013 11:57:27
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01574206
Message ID:
01574211
Views:
59
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform