im surfing the net.
I right click the pic, and press copy
It puts a number in the clipboard.
How do I retrieve the picture with
that number?
Printable View
im surfing the net.
I right click the pic, and press copy
It puts a number in the clipboard.
How do I retrieve the picture with
that number?
Is it like this?
Hope this helpsCode:Private Sub Command1_Click()
Image1.Picture = Clipboard.GetData
End Sub
TheBao
Part of it.Quote:
Originally posted by TheBao
Is it like this?
Hope this helpsCode:Private Sub Command1_Click()
Image1.Picture = Clipboard.GetData
End Sub
TheBao
You have to display the format you want to retrieve as well.
vbCFBitmap - 2 - Bitmap (.bmp files)
vbCFMetafile - 3 - Metafile (.wmf files)
vbCFDIB - 8 - Device-independent bitmap (DIB)
vbCFPalette - 9 - Color palette
Code:Private Sub Command1_Click()
Image1.Picture = Clipboard.GetData(vbCFBitmap)
End Sub