[英]Use JS code in vb.net without add webbrowser control
How i can execute js code in one webpage from vb.net without add a control webbrowser... 我如何在不添加控件Web浏览器的情况下从vb.net在一个网页中执行js代码...
ex: Messagebox.show(WebBrowser1.Document.GetElementById("answer").innerHTML) 'I would this without include WebBrowser buy using Vb.net "Only" 例如:Messagebox.show(WebBrowser1.Document.GetElementById(“ answer”)。innerHTML)'如果不包括使用Vb.net的WebBrowser购买,“我只会这样做”
Sorry for my bad english! 对不起,我的英语不好!
Check out the excellent HTML Parser here: 在此处查看出色的HTML解析器:
http://htmlagilitypack.codeplex.com/ http://htmlagilitypack.codeplex.com/
I will allow you to parse html and action items in the HTML code as you see fit. 我将允许您根据需要解析HTML代码中的html和action项目。 It is free and open...
它是免费开放的...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.