Autor Beitrag
DerHorst
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31

windows200
delphi 6 PE
BeitragVerfasst: Mi 25.05.05 12:57 
grüß euch

ich möchte einfach den html inhalt von eine seite in eine string var laden

ausblenden Delphi-Quelltext
1:
textdata:=idhttp1.Get('http://bigcharts.marketwatch.com/intchart/frames/main.asp?symb=de:840400');					


leider kommt ein error bei dieser stelle in idhttp :

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
{hier ->} if Assigned(ProxyParams.Authentication) and
    (ProxyParams.Authentication.CurrentStep = ProxyParams.Authentication.Steps) then begin
    ProxyParams.ProxyUsername := '';
    ProxyParams.ProxyPassword := '';
    ProxyParams.Authentication.Reset;
  end;
end;


ich kann die url bigcharts.marketwatc...n.asp?symb=de:840400
im IE ganz normal aufrufen ohne eine Authentication

ich hatte das ganze noch letztes jahre mit der beta von indy 9 gemacht. da lief alles noch. jetzt habe ich mir wieder alles neu draufinstalliert (aktuelle indy) und es streikt.

habt ihr eine idee?

grüße

horst

Moderiert von user profile iconGausi: Delphi-Tags hinzugefügt. Überflüssige Absätze entfernt
Moderiert von user profile iconmatze: Delphi-Tags hinzugefügt.

_________________
VIELEN DANK!
yellomb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21


D6
BeitragVerfasst: Mi 25.05.05 15:25 
So funktionierts:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure TForm1.Button1Click(Sender: TObject);
var
textdata:string;
begin
 textdata:=idhttp1.Get('http://bigcharts.marketwatch.com/intchart/frames/main.asp?symb=de:840400');
 memo1.lines.add(textdata);
 end;


Moderiert von user profile iconGausi: Code- durch Delphi-Tags ersetzt.
DerHorst Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31

windows200
delphi 6 PE
BeitragVerfasst: Mi 25.05.05 15:30 
hi

danke für die antwort.

leider gehts so bei mir auch nicht.
ich glaube es liegt irgendwie am indy.

welche version hast du denn?

ich hab 9.0.18


grüße

michael

_________________
VIELEN DANK!
yellomb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21


D6
BeitragVerfasst: Mi 25.05.05 15:35 
Wenn du mir sagst wie ich das raus bekomme, dann sag ich es dir :-)
Ich hab die mit Delphi 6 Pro mitgelieferten Indys.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 25.05.05 15:38 
user profile iconDerHorst hat folgendes geschrieben:
leider kommt ein error

Was gibt es bei der lustigen Fehlermeldungstextraterunde zu gewinnen? Wenn die Preise stimmen mache ich mit. :roll:
r4rox
Hält's aus hier
Beiträge: 6



BeitragVerfasst: Mo 13.09.10 16:36 
Hallo Community ,
habe das hier gerade ausprobiert ... allerdings kriege ich eine fehlermeldung..

(rest entfernt)

problem selbst gefunden :)