Arrowhelp with pic box

Posts 1–5 of 5 · Page 1 of 1
help with pic box
how do i make so tht my picture box changes its image when my my mouse hovers over it
Code:
 Private Sub PictureBox1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseHover
        PictureBox1.ImageLocation = "C:\test.png"
    End Sub
Beat y'all again xD
Quote Originally Posted by Blubb1337 View Post
Code:
 Private Sub PictureBox1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseHover
        PictureBox1.ImageLocation = "C:\test.png"
    End Sub
Beat y'all again xD

or....

[php] Private Sub PictureBox1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseHover
PictureBox1.Image = my.resource.IMAGENAMEHERE
End Sub[/php]
Quote Originally Posted by Blubb1337 View Post
Code:
 Private Sub PictureBox1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseHover
        PictureBox1.ImageLocation = "C:\test.png"
    End Sub
Beat y'all again xD
die!! gj rofl
Dammit blubb, i sign in all ready to help people and you pull this shit on me!

</3
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us