Using axWebBrowser to input text to a web textbox
Posted on 2004-11-06
I am working in visual studio .net, I have created a window app and added an axWebBrowser with the standard navigation buttons, this works fine. I would like to be able to load a page with multiple textboxs and buttons then programmaticlly input text to a specific textbox and then fire a specific button. Say for example to automatically login to a web site.
Can I do this with axWebrowser or an mshtml.HTMLDocument ?
I have played with mshtml.HTMLDocument a little and am able to grab the text of the page but I can't figure out how to get access to textboxes or buttons.
Please give an example of how this can be done.