The following code will allow me to loop through FORM tags but not the elements in them. I may have five forms on one page. How do I loop through form elements in the forth FORM?
private SHDocVw.InternetExplorer IE_Inst = new SHDocVw.InternetExplorerClass();
mshtml.IHTMLDocument2 HTMLDocument =
mshtml.IHTMLElementCollection forms = HTMLDocument.forms;
foreach (mshtml.HTMLFormElementClass el in forms)
strType = el.outerHTML;
Once I'm in a particular FORM, I want to find certain input fields and fill in values.