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 :)

Recommended Answers

All 4 Replies

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
commented: This man alwasy helping +1
commented: kasih daaah +1
commented: Maturnuwun mas +1

Yes...its what i needed.
Thanks..

Ok... now this thread Solved :)
Thanks All...

you're Welcome
Happy coding :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.