Results 1 to 9 of 9

Thread: Visual Basic Program to talk to Website.

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2004
    Posts
    11

    Visual Basic Program to talk to Website.

    I own xmxp.com website. Is there any way can VB program running on Desktop get data from xmxp.com doing some functions based on the data got from website? Please help.
    XM Satellite Radio is hot. Find out why at http://www.xmxp.com

  2. #2
    Not NoteMe SLH's Avatar
    Join Date
    Mar 2002
    Location
    192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
    Posts
    3,051
    What stuff do you want to get?

    Search this forum for something like "download file website"
    Quotes:
    "I am getting better then you guys.." NoteMe, on his leet english skills.
    "And I am going to meat her again later on tonight." NoteMe
    "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
    "my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
    Have I helped you? Please Rate my posts.


  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2004
    Posts
    11
    OK, what I need is to write vb client that get what song is playing on every channel from xmxp.com once every minute, based on the now playing list from xmxp.com to compare user favorite song setting, if any matches, the vb client will popup an alert for the user that his favorite song is playing on which channel now. Is it doable with VB or not, please help.
    XM Satellite Radio is hot. Find out why at http://www.xmxp.com

  4. #4
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564
    Which page shows every song playing ?

    Also, why not just use this

    http://www.xmxp.com/viewtopic.php?p=1180

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2004
    Posts
    11
    the page http://www.xmxp.com/guide_now.php is showing what is playing now.

    The song alert I have now requires users constantly browser forums. it is not user friendly features.
    XM Satellite Radio is hot. Find out why at http://www.xmxp.com

  6. #6
    Fanatic Member TheVader's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam, the Netherlands
    Posts
    871
    You can parse the website source with the WebBrowser component (MS Internet Controls). It's no problem to get any info from that page. What exactly do you want to display, and when?
    Author for Visual Basic Web Magazine

    My articles on the Web Browser Control:
    Using the Web Browser Control & Using the DHTML Document Object Model

    The examples referenced in the articles can be found here:

  7. #7

    Thread Starter
    New Member
    Join Date
    Mar 2004
    Posts
    11
    After I got all playing list for all channels, II want to compare to user favorite song setting, if any match, an alert is popup telling users that their favorite song is palying on which channel now.

    Program need to run every minute to monitor playing list.

    How to do it in VB?
    XM Satellite Radio is hot. Find out why at http://www.xmxp.com

  8. #8
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564
    If you want to do it yourself, search for the Inet control and learn how to parse html.

    If you want someone to do it for you, you should post in the Jobs forum. Since its seems like you work for that website, you will more than likely offer this to your subscribers, so you should pay someone to make it.

  9. #9
    Fanatic Member MikkyThomeon's Avatar
    Join Date
    Oct 2002
    Location
    At work...
    Posts
    648
    I have developed an app like this, but only much more sophisticated!! You could run into problems using the inet control, such as not all the data deing dowloaded from the site. A better way would be to use the winsock control and create your own parser. Parsing is not that difficult, as all href type tags are identifed by 'src=' and 'href='. Also using the web browser control is ugh!!

    Polling every minute would create an unneccessary amount of traffic on the site. After a connection has been establised with the server, the server could then periodically update the clients. This I would imagine would be better than the clients polling the server...

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