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 ?
Printable View
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 ?
It's very easy:
dim x as system.net.webclient()
x.downloadfile("http://www.samlpe.com/samlpe/samlpe.jpg", "c:\sample.gif")
cu
ambient
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 !!