您的位置:首页 > 其它

保存网页内容到txt

2008-09-10 17:49 232 查看
procedure SaveHtmlContentToTxt(htmlName,txtName:string);

var

lpf:IPersistFile;

begin

WebBrowser1.Navigate(htmlName);

lpf:=WebBrowser1.Document sa IPersistFile;

lpf.Save(pchar(txtName),True);

end;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: