Web1.Document.All("submit").Click in VB.NET 2 (Express) B2

  • Thread starter Thread starter Quick
  • Start date Start date
Q

Quick

.Value is now .setattribute & .getattribute("name", "value")

What took the place of .Click?

I see .Click is still stated as a method of Forms. I have a
reference "xForm" to the exact form I want to click. (A simple
submit button at my web site.)

xForm is an object that traverses though Document.All until it
finds the first form with a "type" value of "submit".

TIA.
 
In VB 2005, I found that you could 'emulate' .click method with :

Me.Webbrowser1.Document.Form("yourform").All.Item("yourbuttontoclick").invok
emember("click")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top