0

How to use progress bar to display a picture.
I mean after progress bar is completed it will showing a picture.

Please Help i just newbie :)

2
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by Jx_Man
3

This following code will display a picture after progress bar is 100 %.

Dim i as Integer
	For i = ProgressBar1.Minimum To ProgressBar1.Maximum
		ProgressBar1.Value = x
	Label1.Text = x / 100 & "%"
	If i = ProgressBar1.Maximum Then
		PictureBox1.Image = Image.FromFile _
		("C:\Pic\Me.bmp")
	End If
	Next i
Votes + Comments
Maturnuwun mas
kasih daaah
This man alwasy helping
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.