Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simplest code for downloading a picture

Status
Not open for further replies.
try usnig SellExecute
like this
Code:
//On any event handler
ShellExecute(Handle, "open", "[URL unfurl="true"]http://waves.terra.com.br/forecast/grafico_ondas_santos.gif",[/URL] NULL, NULL, SW_SHOW);
one of the NULL's must be the path where you want the file be downloaded, check the documentation for the ShellExecute (at the Windows SDK) I'm not playing my PC so I have not the BCB here, but I'm sure that it contains the missing information.

--- LastCyborg ---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top