Hello guys. I need an code so when i put my mouse over the picturebox1 then the picture will change from pic1.png to pic2.png?
- EmiloZ
Hello guys. I need an code so when i put my mouse over the picturebox1 then the picture will change from pic1.png to pic2.png?
- EmiloZ
Why fill up a signature?
If you want to change the pic back when the mouse leavesCode:Private Sub PictureBox1_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseEnter PictureBox1.ImageLocation = "C:\pic2.png" End Sub
Code:Private Sub PictureBox1_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseLeave PictureBox1.ImageLocation = "C:\pic1.png" End Sub
Last edited by 1814; 10-05-2008 at 07:34 AM.
Thanks. +Repz
Why fill up a signature?