Set HTMLDoc = WebBrowser1.document.frames("top").document
HTMLDoc.forms("Nav").GetCase.Click
This was my vb6 code to click a button within a form using HTMLDOC as mshtml.document. How do I do this in vb.net? I need to specify exactly whether to use mshtml or the windows system browser.document when executing as well. html is below:
<form name = "Nav"> 'just for reference
<input name="GetCase" style="font: 7pt arial;" onclick="if(!getCase()){return;};" type="button" size="1" value="Retrieve"/>
assume GetCase is unique. bascially, mshtml can do much more than .net web browser.