473,404 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Progress Bar Implementation

4
hello

i'm creating a sistem in C# that can download some files from server.I want to put the progress bar to show the progress of downloadin..but i don't know how to implement it into my codes?
Aug 9 '06 #1
5 2328
krodman
12
If the total number of files will always be the same you can set the Maximum property of the ProgressBar at design time. Otherwise you'll need to set the Maximum property once you know how many files the user is downloading. To increase the progress do something similar to what's below.

int cnt = 1;

foreach (string file in files_being_downloaded)
{
//Code to download files
ProgressBar.Value = cnt;
cnt++;
}
Aug 13 '06 #2
alto
4
thanks alot for reply.i decide to add the percentage of progress task(e.g 90 %) while it were downloading the files from server.I think it will more easier .The problem is..the percentage is not update for itself..
Aug 24 '06 #3
i alos want this program
Aug 24 '06 #4
alto
4
i alos want this program
i succesfully did it..thanks guy...
Sep 20 '06 #5
nmsreddi
366 256MB
hello

can you post your solution plz



thanks
Sep 20 '06 #6

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

Similar topics

2
by: flamesrock | last post by:
Certain web applications, everything from wget to downloader for X has this nifty feature I'd like to accomplish in python. Its the progress bar/time elapsed/time remaining scheme Filename |...
1
by: Leo Jay | last post by:
when i use POP3.retr() in poplib module, the retr() function will not return until the receiving progress is finished so, is there any way to get the rate of receiving progress? Thanks -- ...
8
by: Randy | last post by:
Hi, is it possible to show the progress of a big file being copied e.g. in a "progressbar"? I tried to use file.copy - but this seems to make no sense :-( Thanks in advance, Randy
5
by: Tomaz Koritnik | last post by:
I have a worker thread doing some long calculation and I'd like to report progress (percent done,...). One easy way it to call Control.Invoke(). But is there another way of doing this without using...
4
by: Afterburn | last post by:
Hi, Has anyone ever experienced this error occuring when trying to call AddPrinterConnection() from VC6. This is a microsoft defined method call. I have been able to reproduce it on a windows200...
0
by: Joel Cade | last post by:
I'd just like a sanity check on my thinking. I'm attempting to create a progress bar for a file upload to an ASPX page. I'm adding an HTTP Module, which would then call into a "Progress Handler",...
0
by: Marc Miller | last post by:
KB Q323088 provided implementation of a smooth progress bar custom control in VB.NET. Works well. But, progress bars have an associated text in the background to reflect the percentage of...
2
by: Stan SR | last post by:
Hi, I m looking for a good upload component with a progress bar (or code) that works with asp.net 2 Any idea ? stan
2
by: Jorgen Bodde | last post by:
Hi all, I want to make a small batch copy tool that scans for certain files, and copies them to a specified directory. Since the files are huge (AVI / DIVX) typical 300 to 700 Mb, I want to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.