Results 1 to 3 of 3

Thread: Use external website as "data source"

  1. #1

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Use external website as "data source"

    I'm busy with this sample application to practice and play around with new stuff.

    OK, I got this windows form, where I want to list all the countries of the world, with their flags.

    Now, that is easy when you store the countries and pictures of their flags in your appliation, but I was wondering if one can use a reliable external website (for instance this CIA page ) and if a user is connected to the internet, compare wht you currently got in a folder where you save this information.

    Can this be done? Can one read / get information and resources from a site?
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Use external website as "data source"

    You'd have to just parse the text of the site to get the location of the image files associated with each country name and then download the images.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: Use external website as "data source"

    If you want to more adavanced source , look up some webservices that provide forecasting services for free .It can even give cities but i think without flags .

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