Re: Post to a Form from VB.NET?

From: Smoke (smoke_at_netgate.com.uy)
Date: 05/19/04


Date: Tue, 18 May 2004 23:28:30 -0300

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" <brianiupmsdn@newsgroups.nospam> wrote in message news:uzKekMIPEHA.1340@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" <smoke@netgate.com.uy> wrote in message
> news:eBNKADIPEHA.2740@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:O5p5NxHPEHA.3052@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" <smoke@netgate.com.uy> wrote in message
> > > news:u%2336HSHPEHA.3052@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...
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Post to a Form from VB.NET?
    ... 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 ... The Post method takes an extra argument for the parameters. ...
    (microsoft.public.dotnet.languages.vb)
  • Post to a web page via VB
    ... What I want to do is push a button a VB app which will post data to a ... webpage and show me that webpage in a web browser. ...
    (microsoft.public.vb.general.discussion)
  • how to submit a form with click on image
    ... When that image is clicked on the webpage, ... How to post data and submit such form using Perl script so that the click on ... Pawel Banys ...
    (comp.lang.perl)
  • Post data
    ... Ok guys lets say i have a form like this in a webpage ... Is there any way to send post data and then grab the source of ...
    (comp.lang.ruby)
  • Simulating a web page
    ... i would like to create a windows form that simulate the fields fill of a ... webpage and then post data to it. ... I'm looking for some class that let me do it, if no sucess, anybody can help ...
    (microsoft.public.dotnet.framework.windowsforms)