Autor Beitrag
rmasterb
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 71



BeitragVerfasst: So 27.04.03 00:55 
wie kann ich den quellcode einer html oder anderen webseite auslesen (möglichst mit der webbrowserkomponente)? besser noch wie kann ich eine quellcode zeile auslesen

danke
bis11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1247
Erhaltene Danke: 2

Apple Mac OSX 10.11

BeitragVerfasst: So 27.04.03 09:03 
rmasterb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 71



BeitragVerfasst: Sa 03.05.03 16:17 
Titel: per indy
wie kann ich den quelltext einer page ohne sie erst im webbrowser laden zu müssen per indy-komponente in ein memo laden???

also mit webbrowser is es recht einfach:
ausblenden Quelltext
1:
  Memo1.text:=OleVariant(WebBrowser1.Document).Script.Document.Body.OuterHTML;					

wobei ich sagen muß dass der code nicht von mir ist :oops:
und ich auch zugeben muß dass ich überhaupt keine ahnung hab was OleVariant überhaupt macht
bis11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1247
Erhaltene Danke: 2

Apple Mac OSX 10.11

BeitragVerfasst: Sa 03.05.03 16:31 
Warum benutzt Du dann den Quellcode, wenn Du Ihn nicht verstehst ? Warum fragst Du dann nicht nach, was z.B. OleVariant ist oder schaust in die Online-Hilfe von Delphi. Was nebenbei die beste Hilfe für ein Programm ist, die ich je gesehen habe :wink: