Results 1 to 3 of 3

Thread: how to save pics(jpg) from web ??

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    4

    Smile how to save pics(jpg) from web ??

    hi all

    i am a realy newbie and i am using visual basic.net

    please help me!

    how can i if i know only the webadress of any pic
    for examlpe http://www.samlpe.com/samlpe/samlpe.jpg

    to copy this pic on my harddisk ? using vb.net ?

  2. #2
    New Member
    Join Date
    May 2002
    Location
    Germany
    Posts
    7
    It's very easy:

    dim x as system.net.webclient()
    x.downloadfile("http://www.samlpe.com/samlpe/samlpe.jpg", "c:\sample.gif")

    cu
    ambient

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    4

    Thumbs up

    thank you ambient very much!!

    if i write instead ->dim x as system.net.webclient()
    ->dim x as new system.net.webclient()

    then it works great

    THANKS A LOT !!

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