Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27156

VS 2010 webbrowser progressbar prob

$
0
0
hi,

here's my code:
Code:


For Each liveL In Links.Items
    status.text = "Loading link..."
    WB.Navigate(liveL.ToString())

    WBProgressBar.Maximum = 100
    If WBProgressBar.Value = WBProgressBar.Maximum Then
            timer1.start()

          'Do some work....
          status.text = "Done!"
    End If
Next

Problem: it's cycling through Items @ speed + it's not visiting liveL's + no status updates...

I know this line is the ****: If WBProgressBar.Value = WBProgressBar.Maximum Then

but why? what i'm doing wrong?

Viewing all articles
Browse latest Browse all 27156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>