dim doc as mshtml.IHTMLDocument2 doc = WebBrowser1.Document dim win as mshtml.IHTMLWindow2 win = doc.parentWindowwin.execScript("testfunc()","javascript")需要引用microsoft html object ***************************************************************************** 欢迎使用CSDN论坛专用阅读器 : CSDN Reader(附全部源代码) http://feiyun0112.cnblogs.com/
doc = WebBrowser1.Document
dim win as mshtml.IHTMLWindow2
win = doc.parentWindowwin.execScript("testfunc()","javascript")需要引用microsoft html object
*****************************************************************************
欢迎使用CSDN论坛专用阅读器 : CSDN Reader(附全部源代码)
http://feiyun0112.cnblogs.com/