User form to generate GET or POST

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ken K

    #1

    User form to generate GET or POST

    I need to get some simple text input from the user with a vb.net form(not
    asp.net).
    Using the input value I need to generate a GET or a POST to a web server.

    Considering I build a vb.net form, put a few fields on it to collect the
    information, then concat the string I need for the web server, how do I
    submit a GET or POST from vb.net? Is there a method for this?

    It may be sort of a dumb question but I don't know how to get her done.
    Thanks,



  • Tom Shelton

    #2
    Re: User form to generate GET or POST

    In article <92EABAAE-4295-4D24-A1EF-DBBA3794B708@mi crosoft.com>, Ken K wrote:[color=blue]
    > I need to get some simple text input from the user with a vb.net form(not
    > asp.net).
    > Using the input value I need to generate a GET or a POST to a web server.
    >
    > Considering I build a vb.net form, put a few fields on it to collect the
    > information, then concat the string I need for the web server, how do I
    > submit a GET or POST from vb.net? Is there a method for this?
    >
    > It may be sort of a dumb question but I don't know how to get her done.
    > Thanks,
    >
    >
    >[/color]

    Look at the System.Net.WebR equest object. There is an example in the
    docs for this class would probably help you out.

    --
    Tom Shelton [MVP]

    Comment

    Working...