By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,480 Members | 1,215 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,480 IT Pros & Developers. It's quick & easy.

Post to a Form from VB.NET?

P: n/a
Does anyone has any example on how to make a POST Form to a page using VB.net (not asp.net) ?

Thanks...
Nov 20 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
You will have to be more specific in your question. You do not want to use
ASP .NET? How are you planning for your VB .NET program going to interact
with a web site/server in the absence of ASP .NET?
"Smoke" <sm***@netgate.com.uy> wrote in message
news:u%****************@TK2MSFTNGP09.phx.gbl...
Does anyone has any example on how to make a POST Form to a page using VB.net (not asp.net) ?
Thanks...

Nov 20 '05 #2

P: n/a
I want to post data to a specific page and read the value as a webrequest response, or as a string, or save it a stream, or whatever
make sense?

"Tarren" <noemailplease@thankyou> wrote in message news:O5**************@TK2MSFTNGP12.phx.gbl...
You will have to be more specific in your question. You do not want to use
ASP .NET? How are you planning for your VB .NET program going to interact
with a web site/server in the absence of ASP .NET?
"Smoke" <sm***@netgate.com.uy> wrote in message
news:u%****************@TK2MSFTNGP09.phx.gbl...
Does anyone has any example on how to make a POST Form to a page using

VB.net (not asp.net) ?

Thanks...


Nov 20 '05 #3

P: n/a
there is an entire web response and web class in .NET it maybe useful for
you. one place to start looking is the System.Net namespace it has most of
what you will need to do something like this

"Smoke" <sm***@netgate.com.uy> wrote in message
news:eB**************@TK2MSFTNGP11.phx.gbl...
I want to post data to a specific page and read the value as a webrequest response, or as a string, or save it a stream, or whatever make sense?

"Tarren" <noemailplease@thankyou> wrote in message

news:O5**************@TK2MSFTNGP12.phx.gbl...
You will have to be more specific in your question. You do not want to use ASP .NET? How are you planning for your VB .NET program going to interact with a web site/server in the absence of ASP .NET?
"Smoke" <sm***@netgate.com.uy> wrote in message
news:u%****************@TK2MSFTNGP09.phx.gbl...
Does anyone has any example on how to make a POST Form to a page using

VB.net (not asp.net) ?

Thanks...



Nov 20 '05 #4

P: n/a
"Smoke" <sm***@netgate.com.uy> wrote in
news:u#**************@TK2MSFTNGP09.phx.gbl:
Does anyone has any example on how to make a POST Form to a page using
VB.net (not asp.net) ?


http://www.indyproject.org contains a fully functional HTTP client which
supports posting from many different data formats.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
Nov 20 '05 #5

P: n/a
i dont think this is what im looking for, is it?
Look my other reply comments please

Thanks :)

"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in message news:Xn*****************@127.0.0.1...
"Smoke" <sm***@netgate.com.uy> wrote in
news:u#**************@TK2MSFTNGP09.phx.gbl:
Does anyone has any example on how to make a POST Form to a page using
VB.net (not asp.net) ?


http://www.indyproject.org contains a fully functional HTTP client which
supports posting from many different data formats.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/

Nov 20 '05 #6

P: n/a
I did tryied that, and i was able to request a webpage or and post data to a form using the GET method (passing parameters in the
url) but not able to understand how im suposed to POST data to a page, how do i define which items i want to post? the names and the
value pairs?

Suposed i have http://internet.com/forum.asp then i want to call that page, but posting data, for example username=smoke
password=blah, how im suposed to post those values if not in the url?

is there a way?

thanks for the help...

"Brian Henry" <br**********@newsgroups.nospam> wrote in message news:uz**************@TK2MSFTNGP12.phx.gbl...
there is an entire web response and web class in .NET it maybe useful for
you. one place to start looking is the System.Net namespace it has most of
what you will need to do something like this

"Smoke" <sm***@netgate.com.uy> wrote in message
news:eB**************@TK2MSFTNGP11.phx.gbl...
I want to post data to a specific page and read the value as a webrequest

response, or as a string, or save it a stream, or whatever
make sense?

"Tarren" <noemailplease@thankyou> wrote in message

news:O5**************@TK2MSFTNGP12.phx.gbl...
You will have to be more specific in your question. You do not want to use ASP .NET? How are you planning for your VB .NET program going to interact with a web site/server in the absence of ASP .NET?
"Smoke" <sm***@netgate.com.uy> wrote in message
news:u%****************@TK2MSFTNGP09.phx.gbl...
> Does anyone has any example on how to make a POST Form to a page using
VB.net (not asp.net) ?
>
> Thanks...
>
>



Nov 20 '05 #7

P: n/a
"Smoke" <sm***@netgate.com.uy> wrote in
news:OE*************@TK2MSFTNGP12.phx.gbl:
i dont think this is what im looking for, is it?
Look my other reply comments please


Yes, its exactly what you are looking for. Its a full HTTP client. Not every
demo does exactly what every user wants, but the component of course does
much more than demos.

The HTTP client component supports .POST as well as GET and others.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Develop ASP.NET applications easier and in less time:
http://www.atozed.com/IntraWeb/
Nov 20 '05 #8

P: n/a
"Smoke" <sm***@netgate.com.uy> wrote in
news:eC**************@tk2msftngp13.phx.gbl:
I did tryied that, and i was able to request a webpage or and post data
to a form using the GET method (passing parameters in the url) but not
GET isnt exactly the same as post but is similar.
able to understand how im suposed to POST data to a page, how do i
define which items i want to post? the names and the value pairs?
Yes, name and value pairs. Just call the POST method instead and either pass
them in as a list of strings, or a stream.
Suposed i have http://internet.com/forum.asp then i want to call that
page, but posting data, for example username=smoke password=blah, how im
suposed to post those values if not in the url?


The Post method takes an extra argument for the parameters.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
Nov 20 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.