Results 1 to 3 of 3

Thread: Simulating 'submit' [Resolved]

  1. #1

    Thread Starter
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Resolved Simulating 'submit' [Resolved]

    I'm trying my hand at some basic internet programming with a semi-useful utility I am writing for a game called Tibia. This is an MMORPG, and some of the players stats are listed on http://www.tibia.com/. I had an idea to write a program that would track guild wars, though I am dead-ended.

    Tibia is a game organized into dozens of servers, and each has their own stats. Now, what I wanted to do was grab and parse this page: http://www.tibia.com/community/?subtopic=guilds, after you've chosen a server and hit submit. I have the server list, and I've written a routine to parse it, given my program has the HTML of the page, though I am at a loss as to how to automate the submit query.

    In my program, you select which server you want from a list box (I have the list already), and it automatically updates with information for that server. I would prefer to use the Inet control as I am already using it, though any method short of faking a click event on a webbrowser control would be very much appreciated.


    Thank you for your time,

    jemidiah
    Last edited by jemidiah; Mar 28th, 2005 at 04:05 PM.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Simulating 'submit'

    You need to construct a HTTP POST request, an example of how to do this can be found here.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431
    Thank you very much
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

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