Results 1 to 5 of 5

Thread: what is the best way to do this

  1. #1
    egiggey
    Guest
    I have a number of urls I need to download (from the internet)and save to this directory (c:\newfiles\)
    I need advice in doing this what would be least demanding on the system?

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    Using either the Webbrowser or Inet control should do fine. Just remember, The internet is not very taxing to anycomputer (well a 486 is kinda crappy for it). I find it funny when people buy an 800 mhz machine and I ask what they will use it for.."surf the net"...

    anyway... I am partial to the Webbrowser because you can see if things are progressing....

    use this...

    Webbrowser1.Navigate2 "http://www.URL.com",4

    Do until Webbrowser1.Reaadystate = READYSTATE_COMPLETE
    DoEvents
    Loop



    Do you need to save the whole thing? pics and all?
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3
    Addicted Member Active's Avatar
    Join Date
    Jan 2001
    Location
    Lat: 13° 4' 46" N, Long: 80° 15' 20" E
    Posts
    209
    [QUOTE]Originally posted by geoff_xrx
    I find it funny when people buy an 800 mhz machine and I ask what they will use it for.."surf the net"...


    That is better ! One damn ediot told me that he bought
    a Pentium III machine just for Running his collection of screen savers.
    If you can't beat your computer at chess, try kickboxing !!!
    [Download Tag Editing Tools.]

  4. #4
    egiggey
    Guest
    Geoff I'm going to try any way thats suggested to find the most efficient
    1 question how do I pass the web browser control a variable for the url

  5. #5
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    sURL = "http://www.vb-world.net"

    Webbrowser1.Navigate2 sURL,4

    note: the ,4 at the end is a command to tell it not to look at the cache when navigating to the site. it makes sure a full fresh load occurs.

    if you dont care about that then just use:

    Webbrowser1.Navigate sURL

    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

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