Hi, i was working on an application which is quite similar to winRAR or other compression software. at the moment i facing prob with the progress bar. my idea was that whenever i click on the button to compress the progress bar will load and ended when the compression complete. However i first time using progress bar so i not too sure how i could sychronise the compression time with the progress bar. thanks in advance:*

As a suggestion, if you set the maxvalue of the progressbar to the size of the file to compress, you can increase the bar value to the source bytes already compressed after each compression block.

Hope this helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.