孤独的猫

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

procedure SaveHtmlContentToTxt(htmlName,txtName:string);

var

lpf:IPersistFile;

begin

WebBrowser1.Navigate(htmlName);

lpf:=WebBrowser1.Document sa IPersistFile;

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

end;

posted on 2008-09-10 17:49  孤独的猫  阅读(452)  评论(0编辑  收藏  举报