How to submit FORM in IE?

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
 
B

Bob Grommes

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top