The help for the Windows.Forms.Clipboard class states, "Place data on the
clipboard in multiple formats to maximize the possibility that a target
application, whose format requirements you might not know, can successfully
retrieve the data." So how do you do that? I want to place text and an
image on the Clipboard at the same time. But, when I run the following test
code only the text is on the Clipboard:
Dim bmp As New Drawing.Bitmap(100, 100,
Imaging.PixelFormat.Format24bppRgb)
Call Windows.Forms.Clipboard.SetDataObject(bmp)
Call Windows.Forms.Clipboard.SetDataObject("1,2,3,4,5")
Am I doing something wrong?
Thanks,
Lance