Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27459

VS 2010 (Noob Question) Set automatic download location

$
0
0
Hey, im very new to Vbasic and i just learned this code:

My.Computer.Network.DownloadFile("http://connectnigeria.com/articles/wp-content/uploads/2012/12/Google.jpg", "C:\Users\12jakobe\Dropbox\Google.jpg")

So i got one issue and one question, the issue being that when it downloads the file its 1kb and i cant open it.

The question is, how do i make it so the downloaded file gets saved to where to the program was opened?

I want to be able to start it in a specific folder and have the file downloaded to the same folder.

Thanks in advance :)

Viewing all articles
Browse latest Browse all 27459

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>