to submit cgi request through a vb application

how to submit a cgi request (can be a get method or post method) through a vb application which is created using vb forms. i.e. r there any means by which i be able to submit the cgi request when i click on a command button of the vb form.
preetiaggarwalAsked:
Who is Participating?
 
mcriderConnect With a Mentor Commented:
Add a WebBrowser control to your program and then do this:

   WebBrowser1.Navigate "http://www.yourdomain.com/cgi-bin/your.cgi?Arg1=aaa&Arg2=bbb"

Everything after the "?" is sent to the server as if a GET was performed.  Multiple arguments are separated by "&".

To add the WebBrowser control to your project, right-click on the toolbar and select "Components..." then select "Microsoft Internet Controls" from the list...

By the way, if you don't want the user to see the resulting web page that is returned, set the Visible property of the WebBrowser control to FALSE.


Cheers!
0
 
mcriderCommented:
Thanks for the points! Glad I could help!


Cheers!
0
All Courses

From novice to tech pro — start learning today.