Results 1 to 2 of 2

Thread: Submiting a form from Visual Basic

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Posts
    23

    Post

    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.

  2. #2
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    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
    [email protected]
    ICQ: 15743470 Add Me ICQ Me
    AIM: TomY10
    PERL, JavaScript and VB Programmer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width