Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: jagguyPosted on 2009-11-06 at 02:54:39ID: 25758058
this works but I am not sure if there can be problems with this method
Private Sub bw_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs)
For i = 1 To 10
System.Threading.Thread.Sl
bw.ReportProgress(i * 10)
a.X = i
a.Y = i
e.Result = "l"
Next
End Sub
Private Sub bw_ProgressChanged(ByVal sender As Object, ByVal e As ProgressChangedEventArgs)
img = New Image
_x = 100
_y = 300
url = New Uri("images/circle.png", UriKind.Relative)
uu = New BitmapImage(url)
uu.UriSource = url
img.Source = uu
Canvas.SetLeft(img, _x)
Canvas.SetTop(img, _y)
Canvas.SetZIndex(img, 10)
canvas1.Children.Add(img)
AddHandler uu.ImageOpened, AddressOf uu_downloadComplete
Me.tb1.Text = e.ProgressPercentage.ToStr
End Sub