Dim cpuLoad As Integer = CDec(Performancecounter1.NextValue.ToString())
cpuLoad = 100 - cpuLoad
Label1.Text = cpuLoad.ToString() & "%"
On Error Resume Next
ProgressBar1.Value = cpuLoad.ToString
in this why we need to write as "cpuLoad = 100 - cpuLoad" ? and what is the use of converting the integer to a string ?