获得一个网页的所有的URL(WebBrowser)
摘要:
//记得要引用MSHTMLprocedure TForm1.Button6Click(Sender: TObject);var Doc: IHTMLDocument2; Len: Integer; item: OleVariant; all: IHTMLElementCollection; I: Integer;begin Doc := WebBrowser1.Document as IHTMLDocument2; all := Doc.links; Len := all.length; for I := 0 to Len -1 do begin item :=... 阅读全文
posted @ 2012-02-22 15:55 long6 阅读(1693) 评论(0) 推荐(1) 编辑