Hi,
How can i clear picturebox at runtime in vb.net2005? Please help me....

To clear it might not be the best way to go, but there are others ways to get a desired result. try using

Me.PictureBox.Hide()

or

Me.PictureBox.Visible = False

those both would do the trick. Hope that helps.

PictureBox1.Image = Nothing

Thank you for the post....

Hi SiJi
this is the solution for your problem

set PictureBox.image = null

Hi,
How can i clear picturebox at runtime in vb.net2005? Please help me....

PictureBox1.Image = Nothing
bmp = Nothing
bmp = New System.Drawing.Bitmap(PictureBox1.Width, PictureBox1.Height)
grphs = System.Drawing.Graphics.FromImage(bmp)

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.