How to submit FORM in IE?

  • Thread starter Thread starter Brett
  • Start date Start date
B

Brett

In VB.NET, I can do:
Me.IE_Inst.Document.Forms(formIndex).Submit()

However, in C#, there isn't a forms part. What would be the equivalent?

IE_Inst is:
private SHDocVw.InternetExplorer IE_Inst = new
SHDocVw.InternetExplorerClass();

Thanks,
Brett
 
I'm not familiar with that particular object, however, my first suspicion is
that Forms becomes an indexer in C#. Try this:

this.IE_Inst.Document[formIndex].Submit();

--Bob
 
Back
Top