Just found this code. May be what you are after. (If you haven't solved this
already)
procedure TForm1.SaveHTMLSourceToFile(const FileName: string;
WB: TWebBrowser);
var
PersistStream: IPersistStreamInit;
FileStream: TFileStream;
Stream: IStream;
SaveResult: HRESULT;
begin
);
finally
MemStream.Free ;
end;
end;
Dave.
- Original Message -
From: Dave [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Sunday, March 25, 2001 11:03 AM
Subject: Re: [DUG]: Accessing page in TWebBrowser
Just found this code. May be what you are after
According to the documentation with it, the Document property provides an
interface to the HTML document being displayed in the browser.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alex Kouznetsov
Sent: Thursday, 1 March 2001 17:49
To: Multiple
Thanks Patrick. But do you have more specific information on how to actually
access html source ?
- Original Message -
From: "Patrick Dunford" [EMAIL PROTECTED]
To: "Multiple recipients of list delphi" [EMAIL PROTECTED]
Sent: Thursday, 1 March 2001 22:06
Subject:
At 03:49 pm 1/03/01 +1100, Alex Kouznetsov said:
How can I access html text of the page currently displayed in the
TWebBrowser component ?
Thanks
Alex
The simple answer is you can't. The TWebBrowser component is not a Delphi
component but an control that gives you access to Internet Explorer in