我记得很久之前就写过这么一篇文章的把
http://www.csdn.net/Develop/read_article.asp?id=21702
文章的示例代码有一个已知BUG,如果启用自动化浏览器脚本,而且在脚本中使用布尔型变量,退出的时候会有问题。修复的方法参见微软知识库文章Q199315 FIX: Method with BOOL* Parameter Type Overwriting Memory in Visual Basic
On Error Resume Next
set nc=CreateObject("NcActive.NcCollect")
if err<>0 then
MsgBox("网海拾贝没有正确安装")
else
//但是这个参数至今不知道如何在控件中得到
call Nc.Gethtmldoc(NcSelText,external.menuArguments.document)
end if
end sub