Link to home
Start Free TrialLog in
Avatar of makoto_liang
makoto_liang

asked on

URL question!!!

In my programme, I have one URL and that URL can be download some files. I want to know how can I pass this URL to the browser and then show a dialog to save in which path?  If not using "broswer" to download the files, what else I can do if I only have a URL in my programme.
ASKER CERTIFIED SOLUTION
Avatar of mikeblas
mikeblas

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of makoto_liang
makoto_liang

ASKER

hi, can you give me more detail how to use this function to open the browser if i have a URL.

I don't know how to put right parameters in that function.

HINSTANCE ShellExecute(
    HWND hwnd,
    LPCTSTR lpOperation,
    LPCTSTR lpFile,
    LPCTSTR lpParameters,
    LPCTSTR lpDirectory,
    INT nShowCmd
);

ShellExecute(NULL, NULL, "https://www.experts-exchange.com", NULL, NULL, 0);


It's that simple.

..B ekiM