title: ProgressBar on WebBrowser Value exception
body: <p>When I try to load any pages I get an exception that says:</p>
  
  <p><code>Value of '1010000' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'</code>.</p>
  
  <p>Sometimes the number is different but the error is always the same. This is the code I am using for the ProgressBar</p>
  
  <pre><code>If e.MaximumProgress = -1 Or e.CurrentProgress = -1 Then Exit Sub
          ToolStripProgressBar2.Maximum = e.MaximumProgress
          ToolStripProgressBar2.Value = e.CurrentProgress 
  </code></pre>
  
  <p>Am I doing something wrong? I has alleviate the problem in the past by increasing Value but I can't figure out how to do that now. I tried what it said <a href="https://stackoverflow.com/questions/3175966/problem-with-progressbar-value-in-vb-net">here</a> but I still get the same error.</p>
  
  <p>Thanks in advance for any help.</p>