how to customize a progress bar using vb.net
问题 I was trying to creating a progress bar that was color coded in relation to the value. For example, from 0-35, the progress bar should be red-colored and above 35, green colored. Any idea how I can go about doing it? If ProgressBar1.Value >= 35 Then ProgressBar1.BackColor = Color.Green Else ProgressBar1.BackColor = Color.Red End If P.S in the same progressbar, both the colors have to shown based on the values 回答1: You need to change settings on this one. Go to Project --> [WindowsApplication]