PRB: Cannot Paste PrintScreen Result to OLE Control (193593)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q193593 SYMPTOMS
Pressing the ALT+PRINTSCRN key combination turns the OLE control's PasteOK
property to False, and the bitmap in the clipboard cannot be pasted to the
OLE control.
CAUSE
There are two kinds of Clipboard formats; one is the traditional format and
the other is the OLE format. Microsoft's Visual Basic OLE control is
designed to hold the objects that can either be linked or embedded in the
control. It requires the clipboard to contain the OLE information to be
pasted into it. However, after pressing the ALT+PRINTSCRN key combination,
the clipboard format is in the traditional format. For the same reason,
simple metafiles in the clipboard cannot be pasted into the OLE control
either.
RESOLUTION
To workaround this problem, the clipboard format needs to be transformed
from traditional format to OLE format.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbprb KB193593 |
---|
|