I have tried many ways to download the files in a listbox. non-seems to work.
the listbox has url
eg:
[url]http://www.hahaww.com/2.pdf[/url]
[url]http://www.hahaww.com/f1.pdf[/url]
[url]http://www.hahaww.com/24.pdf[/url]
I want to download the files until ListBox.Items.Count = 0 which each file with number ording...
for eg:
2.pdf will be 1.pdf
f1.pdf will be 2.pdf
24.pdf will be 3.pdf
and so on until ListBox.Items.Count = 0
all files will be downloaded until ListBox.Items.Count = 0
to download i have used
My.Computer.Network.DownloadFile(ListBox1.SelectedItem, "c:\temp\1.pdf")
i also couldnt find a way to increase the numbering...