+ Reply to Thread
Results 1 to 6 of 6

Thread: Specific Coding Question

  1. #1
    Newbie nassersyed is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    1

    Specific Coding Question

    Ok, this is a pretty specific question, but can't imagine that it hasn't come up before.

    Ok, I'm trying to take data from a web page. I'm trying make an up-to-date sport score calculator. Trying to make it as real-time as possible. When the stats come up on yahoo sports for a given game (football/basketball), I want to take that updated information and paste it into my program, right now I'm making a mockup of it in excel. Is there a way I can program or make a macro that will take information from a webpage and paste it in to or incorporate in my software? I've seen some VB code of tabbing through pages or sections until you reach the cell you want. But was wondering if there was a way or what is the easiest/best way of accomplishing it.

    Thank you in advance,
    Nasser

  2. #2
    Programming God NeedHelp is on a distinguished road
    Join Date
    May 2006
    Posts
    526
    You can always have your Visual Basic or any other .NET program grab data from the spreadsheet although it would be easier to just grab the data from the website.
    I Need Help

  3. #3
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6
    Well that can be done in visual basic.. all you need to know is the HTML code of that page that stores the results and then get it into VB. simple and it can be displayed withing a msgbox, textbox or whatever.

  4. #4
    Newbie Xyphos is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    7
    Fire up your project
    Add Component > Inet(.ocx)
    (you can google for source/reference for Inet component)
    put the code for it to fetch the page on a timer, and parse the data/html as needed.
    Last edited by Xyphos; 10-27-2007 at 04:44 PM.

  5. #5
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6
    Yes a good summary of what I had in mind.. but I have the code to use (I think it is somewhere on my PC)

  6. #6
    Learning Programmer GMailGuy is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    60
    Did you ever solve this problem?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. New Anti-Cheat Community needs coding help
    By avguste in forum PHP Forum
    Replies: 8
    Last Post: 04-04-2008, 04:42 PM
  2. Question about String handling...
    By Spitfire in forum Java Help
    Replies: 2
    Last Post: 06-08-2007, 05:17 PM
  3. Is there a specific date?
    By TcM in forum Search Engine Optimization
    Replies: 4
    Last Post: 05-22-2007, 02:55 AM
  4. More Coding Methods
    By RobSoftware in forum General Programming
    Replies: 2
    Last Post: 05-30-2006, 04:42 PM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

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