How to copy clipboard image to our picturebox control in VB.Net?

By James J

Display clipboard image into the picturebox...

If My.Computer.Clipboard.ContainsImage() Then
            PictureBox1.
Image = My.Computer.Clipboard.GetImage
Else
            MessageBox.
Show("No contain(s) in clipboard.")
End If

> If there is contain(s) in the clipboard then it will display in picturebox, see below image

> In below image i press the print screen button then the image of my current screen will be in clipboard & when i press button then it will display that screen image to my picturebox control...

> If clipboard is empty then it will display given message to the user...

How to copy clipboard image to our picturebox control in VB.Net?  (1125 Views)