I have a list box created that pulls over inner and outer html links from my web page. I have a code to click on the link id within that list and invoke a (click) then the proper function is invoked. my problem is the page changes in number of links ect form hr to hr. but the link i need to click will always be listed at the bottom of the list box.
so one day this code might work...
Private Sub Button5_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
WebBrowser1.Document.Links(111).InvokeMe...
End Sub
BUT.... the next day the list could be shorter and the link is now at 92. so i get the error that i can only call on 0 thru 92
I cant call on the link by innertext because i have several links with the same text and i would like to keep to calling on links via the list box.
Software/Hardware used:
ASKED:
November 28, 2008 5:21 AM
UPDATED:
December 1, 2008 8:13 PM
Your awesome!
That work!
i have another question which is driving me insane! I’m trying to view some code with the x and y value in it. i want to be able to make a mouse click at a pin point location with in a browser. So far i’m coming up empty and wish someone would show a code example, to learn from. I just bought a 80 dollar book on vb 2008 and it only covers this in pieces. But never shows examples to view and learn from. so if anyone has any code that would perform a simple mouse click at a certain point in the browser using the (x)( y) values please share!