Progress bar does not reach 100%
According to the following David Heffernan's answer, the issue is caused by the animation added in Windows 7. The issue gets fixed doing the following trick:
progressBar1.Value = mValue;
progressBar1.Value = mValue - 1;