Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute, download files
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
ShellExecute, download files
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01574206
Message ID:
01574206
Views:
60
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)
Next
Reply
Map
View

Click here to load this message in the networking platform