title: how to customize a progress bar using vb.net
body: <p>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?</p>
  
  <pre><code>If ProgressBar1.Value &gt;= 35 Then
  ProgressBar1.BackColor = Color.Green
  Else
  ProgressBar1.BackColor = Color.Red
  End If
  </code></pre>
  
  <p>P.S in the same progressbar, both the colors have to shown based on the values </p>