Closed Thread
Results 1 to 6 of 6

Thread: Specific Coding Question

  1. #1
    nassersyed is offline Newbie
    Join Date
    Oct 2007
    Posts
    1
    Rep Power
    0

    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. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    NeedHelp Guest
    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.

  4. #3
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    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.

  5. #4
    Xyphos is offline Newbie
    Join Date
    Oct 2007
    Posts
    7
    Rep Power
    0
    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 02:44 PM.

  6. #5
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    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)

  7. #6
    GMailGuy is offline Learning Programmer
    Join Date
    Oct 2007
    Posts
    60
    Rep Power
    0
    Did you ever solve this problem?

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Question]Specific information about computer hardware
    By .:saeed:. in forum Computer Hardware
    Replies: 5
    Last Post: 06-20-2010, 08:47 AM
  2. Specific Haskell recursion question
    By cordedconch in forum General Programming
    Replies: 3
    Last Post: 03-27-2010, 12:17 AM
  3. Question About Learning C# For Very Specific Usage
    By Mulsiphix in forum C# Programming
    Replies: 5
    Last Post: 12-28-2009, 09:01 AM
  4. Specific Question: Port Scanner his Scanroute
    By Slashgate in forum Visual Basic Programming
    Replies: 2
    Last Post: 07-20-2009, 08:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

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