VB.Net 2008, Inside a webbrowser control - how do you click a link inside a...

Ven T

New member
...table with the same names? So say there is a table, the rows are always different (Say 5 Rows for example) - and 5 columns. One column going down each row has the exact same name link (Calculate) but a different location they all go to. It's sort of a dynamic every changing table you can say...there is no IDs I can target on to.

I know the code to to click something by calling its name, but is there a code that can, say for rough example, "click <this word>, 3rd time you see it".

Otherwise I have to use this,

Webbrowser1.Document.links(5).Click - To locate the *th link down the page (page is dynamic and it can miscount because of that..not good)

Thank you.
 
Back
Top