Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
PictureBox1.Image = New
System.Drawing.Bitmap("C:\windows\mypicture.bmp")
End Sub
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
"NeverwaY" <ne******@hotmail.com> escribió en el mensaje
news:D4**********************************@microsof t.com...
How can i make a button click change an image in a picture box? I
basically
have an image in my main Form, i want it to change when a button is
clicked.