Frustrated about ((IHTMLFormElement)eform).submit(); Please Help Me!!

  • Thread starter Thread starter Andla
  • Start date Start date
A

Andla

Hi!

I thought that using axWebBrowser control would be the same as using
Internet Explorer. All that IE can do i can do with this COM control.
It seams that this isn't the case. I'm trying to automate the login
sequence in different forums to make life easier. On some forums
simulating the .submit() command does not work. But it works fine when
pressing submit manually. I really hate this problem because the
..submit method should do the same as manually clicking submit.

Some pages that doesn't accept submit() are these:
http://www.csharp-station.com/login.aspx
http://www.csharpfriends.com/Forums/login.aspx?ReturnUrl=/Forums/AddPost.aspx?ForumID=1&ForumID=1

Please i would appreciate any comment even comments that doesn't
directly help me. Any comment that makes me on a better mood is most
welcomed.

Yours sincerely
Andla
 
Andla,

If I was able to tell customers comments that don't directly help them
and it would put them in a better mood, my life would be much easier. The
world needs more customers like you =)

What exactly is happening when you are trying to submit the form? Also,
can you post your code that is accessing the html page and submitting it?
Are you sure that the page is completely loaded before you try and submit
the form.

Hope this helps.
 
Hi!

I mailed an reply to you but it is good to make a reply in this forum to
help others with the same problem.

To everybody reading this.

((IHTMLFormElement)eform).submit(); does not cover all forms.

Instead invoke the click() method on the input element of type="submit".

Still if you succeed with the same pages and same .net version i use
then let me know.

I'm Currently using framework 1.0 and Developer IDE 2002.

Best regards
Andla
 
Back
Top