I am farmiliar with the old appactivate and sendkeys, but the cursor might not always be in the same place. Anyone know of an api to use?Visual Basic 2008, How can I make vb find and click a certain button on a specific webpage?
im not sure if this vb.net code works on vb2008...try change a little if it doesnt work :p
to click button : (google search as example)
u will need to add a webbrowser in ur form
then put this code in a button or something
WebBrowser1.Document. _
GetElementById(';btnG';). _
DomElement.click()
replace btnG with the name of ur button (can be found in html source)
No comments:
Post a Comment