I only started learning VB today but when going through an example of how to display a picture i was curious how to also hide it.
the following is what I put together with one button to display the image and another to hide.
To show the image;
PictureBox1.Visible = True
To hide the image;
PictureBox1.Visible = True
Extracted from this;
Public Class Picture_example
Private Sub Picture_example_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
PictureBox1.Image = Image.FromFile("C:\Documents and Settings\JJ\Desktop\pcount2.jpg")
PictureBox1.Visible = True
End Sub
Private Sub Picture_example_2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
PictureBox1.Visible = False
End Sub
End Class
hope it helps