Autor Beitrag
wyelek
Hält's aus hier
Beiträge: 5



BeitragVerfasst: Fr 25.08.06 17:52 
Hallo zusammen

Ich habe mit ShellExecute eine webseite geöffnet, welche 'nur' ein .jpg Bild enthält.
Ist es möglich, das Bild per Software zu speichern -wenn es fertig geladen ist - ohne dass im ieexplorer auf 'speichern unter...' geklickt werden muss ?

Besten Dank für Eure Hilfe
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Fr 25.08.06 18:01 
Nimm dir eine Indy-HTTP-Komponente und lade die Grafik damit runter.

//Martok

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
wyelek Threadstarter
Hält's aus hier
Beiträge: 5



BeitragVerfasst: Fr 25.08.06 18:18 
Danke für Dein rasches posting.
Habe leider keine Ahnung davon.
Verwende Delphi 3
Kannst Du mir weiterhelfen ?
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Fr 25.08.06 23:44 
Benutz lieber URLDownloadToFile... Falls du die genaue URL des Bildes hast. wenn du nur die URL eines HTMLdokuments hast, in dem das Bild drin ist, installiere die Indykomponenten (Googeln hilft ;> ) und benutze die TidHTTP zum download des Dokuments. (Benutze idHTTP1.Get(URL); dafür - die Funktion liefert dir einen String.) Aus dem String musst du die URL des Bildes rausfinden. Hierzu Suche in: Delphi-Forum, Delphi-Library COPY und Suche in: Delphi-Forum, Delphi-Library POS benutzen. dann die Unit URLMon einbinden und dir Suche in: Delphi-Forum, Delphi-Library URLDOWNLOADTOFILE angucken.

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
Ironwulf
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 733
Erhaltene Danke: 2



BeitragVerfasst: Sa 26.08.06 01:26 
indy gibts erst ab d4
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Sa 26.08.06 16:44 
Oh. Das ist blöd. Nun, URLDownloadToFile reicht dafür auch - oder gibts urlmon auch nicht in D3? :(

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
wyelek Threadstarter
Hält's aus hier
Beiträge: 5



BeitragVerfasst: So 27.08.06 13:25 
Besten Dank !!!!!!!!!!!
Es hat funktioniert !!!!!