Вниз
Скачать: CL | DM;

WebBrower - как сохранить html страницу?   Найти похожие ветки 

← →
Tark1   (2003-12-16 03:07) [0]

WebBrower - как сохранить html страницу? Плз!!! Кусочек кода.


← →
Maxud ©   (2003-12-16 07:08) [1]

Вот, выдрал из FAQ:

uses
ActiveX, MSHTML_TLB, SHDocVw_TLB,
ComCtrls, OleCtrls;

procedure TForm1.Button1Click(Sender: TObject);
var
HTMLDocument: IHTMLDocument2;
PersistFile: IPersistFile;
begin
HTMLDocument := WebBrowser1.Document as IHTMLDocument2;
PersistFile := HTMLDocument as IPersistFile;
PersistFile.Save(StringToOleStr("c:\SavedFile.html"), System.True);
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.011 c
11-86327
Bartov
2003-04-03 01:53
2003.12.26
KOL+VCL


3-86287
rel_
2003-12-04 10:24
2003.12.26
помогите SQL запросом


1-86405
Markus
2003-12-14 23:42
2003.12.26
компонент TstringGrid


1-86380
Lexxxx
2003-12-15 10:08
2003.12.26
Кол-во дней в месяце


8-86458
BOA_KAA
2003-08-28 13:03
2003.12.26
PlaySound




   Наверх