WebBrowse中如何实现找出所有链接和其对应的简介!例如:用google搜索Delphi,会出现很多信息!
在页面中我以找出所有连接,不知怎么找出连接对应的内容介绍?
以及如何能较好的实现番页?
在页面中我以找出所有连接,不知怎么找出连接对应的内容介绍?
以及如何能较好的实现番页?
解决方案 »
- fastrepot3 里的fastscript 和fr3tools和fastreport3 exports 是干什么用的?
- 遇到一奇怪问题
- ODBC连接SYBASE,乱码??救命!!!
- 怎样杀掉一个进程,急求多种方法!!!
- 请教各位老师一个线程问题:Synchronize(Method:TThreadMethod)中的Method不能带参数吗?
- 当上了版主,散分!
- 通过ole创建数据库
- 不好意思在用一百分求帮!!!!
- 關于一個CreateComObject的問題﹐請大家幫忙。
- ListView 使用中的out of index的问题
- 超级难题!!!
- dephi中datasnap正确连接判断问题
procedure TForm1.GetAllLinks;
var
doc:IHTMLDocument2;
all:IHTMLElementCollection;
len,i:integer;
item:OleVariant;
begin
doc:=WebBrowser1.Document as IHTMLDocument2;
all:=doc.Get_links
len:=all.length;
for i:=0 to len-1 do begin
item:=all.item(i,varempty);
memo1.lines.add(item.href);
end;
end;