Hey All,
This is what I would like to do:
Obviously, that doesn't work. Does anyone know how I could perform that function though?Code:Me.picTemp.Image = Clipboard.GetDataObject.GetData("DeviceIndependentBitmap")
Thanks!
--Ben
Printable View
Hey All,
This is what I would like to do:
Obviously, that doesn't work. Does anyone know how I could perform that function though?Code:Me.picTemp.Image = Clipboard.GetDataObject.GetData("DeviceIndependentBitmap")
Thanks!
--Ben
Figured it out!
Code:If Clipboard.GetDataObject.GetDataPresent(GetType(System.Drawing.Bitmap)) Then
Me.picTemp.Image = CType(Clipboard.GetDataObject.GetData(GetType(System.Drawing.Bitmap)), Bitmap)
End If