Home All Groups Group Topic Archive Search About

Posting a form to webserver using vb.net

Author
23 Apr 2010 3:14 AM
non3333
I'm used to using the msxml library to post data to a form handler on
a webserver.

Can anyone tell me the comparable .net class to use to get the same
thing done using Visual Basic.net 1.1?

In other words : What is the .net class and code I can use with VB to
post a form to a webserver and get a response?  In the most simple way
as code behind the form?

Thanks.

Author
23 Apr 2010 11:03 AM
Patrice
Hello,

> using Visual Basic.net 1.1?

Unless you are really stuck to this one, you may want to consider upgrading
?

> In other words : What is the .net class and code I can use with VB to
> post a form to a webserver and get a response?

You can send http request to a server using System.Net.WebClient for simple
needs or System.Web.HttpWebRequest if you need to have more detailed
control...

--
Patrice
Author
23 Apr 2010 2:26 PM
non3333
On Fri, 23 Apr 2010 13:03:43 +0200, "Patrice"
<http://scribe-en.blogspot.com/> wrote:

well... that's what anyone would ...

o.k.

good.



Show quoteHide quote
>Hello,
>
>> using Visual Basic.net 1.1?
>
>Unless you are really stuck to this one, you may want to consider upgrading
>?
>
>> In other words : What is the .net class and code I can use with VB to
>> post a form to a webserver and get a response?
>
>You can send http request to a server using System.Net.WebClient for simple
>needs or System.Web.HttpWebRequest if you need to have more detailed
>control...
>
>--
>Patrice
>
>