Autor Beitrag
menticore
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 24

Win XP
D7 Enterprise
BeitragVerfasst: So 02.03.08 20:02 
Hallo zusammen.

Ich suche nach einer Möglichkeit eine HTML-Datei per OleObject zu analysieren. Wie kann ich aber nun diese Datei an ein OleObject binden? Also im Grunde eine Alternative zu
ausblenden Delphi-Quelltext
1:
2:
  WebBrowser1.Navigate(url);
  ole := WebBrowser1.OleObject.Document;


Ich benötige nur die HTML-Datei, daher wollte ich den TWebBrowser vermeiden, damit die Ladezeit durch Bilder etc. vermieden wird. Angebieten würde sich ja der TEmbeddedWB, aber ich habe auch keine Möglichkeit gefunden so ein Objekt zur Laufzeit zur erstellen.
Daher die Frage: Gibt es andere Komponenten, oder kann man so ein OleObject anders realisieren?
Habe die Hilfe durchsucht, hier im Forum, sogar den Quellcode vom TWebBrowser, konnte aber bisher nichts finden.

Gruß,
menticore
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mo 03.03.08 08:54 
TWebBrowser ist ja nur ein Wrapper um das ActiveX-Control des IE.
Willst du HTML-Code ohne Browser analysieren, musst du einen anderen HTML-Parser verwenden.

_________________
Markus Kinzler.
menticore Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 24

Win XP
D7 Enterprise
BeitragVerfasst: Mo 03.03.08 10:32 
Kannst du mir da einen empfehlen?
Steven
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 57



BeitragVerfasst: Sa 08.03.08 21:05 
IDHttp von Indy
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: So 09.03.08 00:15 
Hallo,

oder MSHTML
Beispiel: Link

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )