I just put a progress bar in my program and was wondering how I could calculate the time that remains like when you download something.