VB.net使用Web浏览器单击提交按钮

时间:2013-08-10 08:19:14

标签: vb.net browser

我想点击我在网络浏览器中显示的网页的提交按钮,但似乎根本不能使用我的代码:

WebBrowser1.Document.Forms(0).InvokeMember("image")

我基于我要点击的按钮的html代码:

<div class="buttonRow forward">
<input type="image" src="includes/templates/template_default/buttons/english/button_send.gif" alt="Send Now" title=" Send Now ">
</div>
我错过了什么吗?我真的需要帮助。

1 个答案:

答案 0 :(得分:1)

尝试设置此属性

  Webbrowser.AllowNavigation = True