Pages

Total Pageviews

Add This

Showing posts with label PictureBox. Show all posts
Showing posts with label PictureBox. Show all posts

Sunday, May 8, 2011

Clear image from PictureBox

Write the code bellow:


PictureBox1.Image = Nothing

Get Image from Clipboard and put in PictureBox

Create a form like on the picture:

In the button write the code bellow:



        If My.Computer.Clipboard.ContainsImage Then
            PictureBox1.Image = My.Computer.Clipboard.GetImage
        End If