472,122 Members | 1,511 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

Progress of Downloading a File

32
Hi could anybody tell me how to add a progress bar thats shows the percentage of a file that has been downloading of the internet from my program

this is the code that i have been using to download files
My.Computer.Network.DownloadFile(lstfiles.Text, dir)
Apr 7 '08 #1
2 1150
debasisdas
8,127 Expert 4TB
You need to capture the file size and the transfer rate and pass the same to the progress bar.
Apr 8 '08 #2
Ali Rizwan
927 512MB
(size transfered/Totalsize of file)*100

This will return you the %completed download.

Regards
>> ALI <<
Apr 11 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Howard | last post: by
8 posts views Thread by Dino M. Buljubasic | last post: by
6 posts views Thread by Samantha | last post: by
7 posts views Thread by Loane Sharp | last post: by
4 posts views Thread by hzgt9b | last post: by
3 posts views Thread by Ritesh Raj Sarraf | last post: by
1 post views Thread by crajaguru | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.