浪客宏非的博客一旦你检索到集合,你需要遍历元素并点击它。我正在粘贴代码片段(click here for the entire code)。这是在c + +中,但我认为它也必须是相同的VB。IHTMLElementCollection *spCollectEmbed;spDocument->get_links...
Doc:=wb1.Document as IHTMLDocument2; //wb1.OleObject.document.getElementsByTagName('input').item(7).click; group:=(Doc.all.item('dict_main',varEmpty) as IHTMLElement2).getElementsByTagName('div');