PRB: Pasting from OLE Client Puts Graphic in Clipboard (140204)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q140204 SYMPTOMS
After copying part of an embedded OLE object, and pasting the contents of
the clipboard to the form while the form has the focus, a graphic
representing the object is inserted onto the background of the form.
CAUSE
When you copy certain OLE objects from an OLE container, more than
one form of information is copied to the Clipboard. For example, when you
copy cells from an Microsoft Excel spreadsheet, objects in both bitmap
and enhanced metafile format (among other objects) are copied to the
Clipboard. Then when the object is pasted onto a Visual Basic form it
causes the form's Picture property to be set to the bitmap of the copied
cells. There is no way to position or manipulate the image if it is
added to form in this manner.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | kbprb KB140204 |
---|
|