Post to website through Web Browser control?

  • Thread starter Thread starter Adam Clauss
  • Start date Start date
A

Adam Clauss

I am writing an application which will contain the Microsoft Web Browser
control. Is it possible to POST information to a website with it? The user
will browse to a page that contains a form. Then, when the
navigatecomplete(?) event is called, I would like to automatically submit
the form on the given page. Is it possible with this control? Or will I
need to manually open an Http connection and handle the transfer myself?

Thanks!

Adam Clauss
(e-mail address removed)
 
If you have a local HTML file with a form that includes the POST data
(controls and so on) loaded into the control, clicking on the "Submit"
button should work, even if the browser happens to be hosted on a Windows
form.

Otherwise you'll have to do it manually with an HTTP connection.
 
Back
Top