Hello all,
I am trying to figure out how to click a button in the WebBrowser Control...
I've tried stuff like:

WebBrowser1.Document.Forms(0).Item("btnG").Click

but this doesn't seem to work.

So how would you go about clicking a button in the webbrowser control in Visual Basic 2010?
As an example how would you type "Daniweb" into the google search bar and click the "Google Search" button?

Thanks in advance!

Me.webbrowser1.Document.Forms(1).InvokeMember("buttonname")

try that

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.