PDA

Click to See Complete Forum and Search --> : Submiting a form from Visual Basic


daljeet
Nov 20th, 1999, 05:49 PM
Using the Inet component, we can issue the HTTP commands and recieve the contents. Is there a way to submit an HTML form using Visual Basic? That means if there is an HTML form for login requiring username and password, I should be able to log in using the Inet component.
Thanx.

Compwiz
Nov 21st, 1999, 02:49 AM
Well, if you are using the GET method, then you can just use: http://my.domain.com/login.pl?username=username... etc. It is simple to figure it out. However, to use the POST method, then you might have to use Winsock and enter the form data via STDIN. Please be minded, that a lot of programs on the internet, especially the ones made with PERL, have REMOTE_HOST checking, so if the form wasn't submitted with on the same server, then you will have a problem.

Just some things to keep in mind. If anything else, just let me know.

------------------
Tom Young, 14 Year Old
tyoung@stny.rr.com
ICQ: 15743470 (http://wwp.icq.com/15743470) Add Me (http://wwp.icq.com/scripts/search.dll?to=15743470) ICQ Me (http://wwp.icq.com/scripts/contact.dll?msgto=15743470)
AIM: TomY10 (http://www.aol.com/aim/aim30.html)
PERL, JavaScript and VB Programmer