PRB: Convert Dialog Doesn't Appear for OLE Object in MS Excel (135765)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ 1.51
- Microsoft Visual C++ 1.52
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 2.0
- Microsoft Visual C++, 32-bit Professional Edition 2.1
- Microsoft Visual C++, 32-bit Professional Edition 2.2
- Microsoft Visual C++, 32-bit Professional Edition 4.0
- Microsoft Visual C++, 32-bit Professional Edition 4.1
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 4.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q135765 SYMPTOMS
When the Edit|<Object>|Convert... menu item is selected for an OLE object
that is embedded within a Microsoft Excel document, the Convert dialog box
does not appear.
CAUSE
Microsoft Excel displays the Convert dialog for an object only if
WriteFmtUserTypeStg has been used to write out a clipboard format and
user-readable name for the contents of the object. The MFC libraries do not
call this function when creating or saving OLE objects.
RESOLUTION
Call WriteFmtUserTypeStg in the Serialize method of your server's document
class.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/2/2003 |
---|
Keywords: | kbprb KB135765 |
---|
|