L lyx Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-28 #1 我想通过WebBrowser或其他的方式将指定的URL的内容Get到一个Stream中去,但是无从下手, 烦请各位大虾不吝赐教。简单的思路也行。
I iapollo Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-30 #2 //用了indy控件, IdHTTP1: TIdHTTP; ... procedure TForm1.Button1Click(Sender: TObject); var tmpStream:TFileStream; begin tmpStream:=TFileStream.Create('c:/get.dat',fmCreate); try idhttp1.Get('http://www.xxx.com/',tmpStream); finally tmpStream.Free; end; end;
//用了indy控件, IdHTTP1: TIdHTTP; ... procedure TForm1.Button1Click(Sender: TObject); var tmpStream:TFileStream; begin tmpStream:=TFileStream.Create('c:/get.dat',fmCreate); try idhttp1.Get('http://www.xxx.com/',tmpStream); finally tmpStream.Free; end; end;