Fórum image com gif ou jpg da internet #228847
29/04/2004
0
Flaviocont
Curtir tópico
+ 0Posts
29/04/2004
Slack
vc quer pegar uma image da internet? é isso
tipo .. essa image ta num host(ftp)
vc usa os componentes da paleta Indy para baxar a image pra uma pasta e ae ela executa a image dessa pasta. .
qualquer duvida poste ae
Gostei + 0
30/04/2004
Cebikyn
uses URLMon; function DownloadFile(WEB, LOCAL: string): Boolean; begin try Result := UrlDownloadToFile(nil, PChar(WEB), PChar(LOCAL), 0, nil) = 0; except Result := False; end; end; procedure TForm1.Button1Click(Sender: TObject); begin if DownloadFile( ´http://www.servidor.com.br/figuras/figura.gif´, ´C:\Figura.gif´) then Image1.Picture.LoadFromFile(´C:\Figura.gif´) else ShowMessage(´Erro ao fazer download!´); end;
Gostei + 0
09/05/2004
Xande-df
Valeu!!!!!
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)