The information in this article applies to:
SUMMARY
Writing out a blob property using PX_Blob() may not work when the control
is hosted in an HTML page in ActiveX Control Pad. The blob property is not
written out when the HTML page is saved.
MORE INFORMATION
When it comes time to save out the control's properties, first ActiveX
Control Pad calls the control's IPersistPropertyBag::Save() function which
in turn calls DoPropExchange(). If PX_Blob() returns FALSE in
DoPropExchange(), it throws an exception. The exception is caught by
COleControl::XPersistPropertyBag::Save() and E_FAIL is returned. This
prompts ActiveX Control Pad to call the control's IPersistStream::Save()
function which can write out the blob property.
REFERENCESFor a sample control that writes out a blob property, please see the following article(s) in the Microsoft Knowledge Base: Q137333 DOC: How To Use the PX_Blob Function Additional query words:
Keywords : kbcode kbole kbActiveX kbMFC kbVC kbVC400 kbVC410 kbVC420 kbVC500 AXSDKControls |
Last Reviewed: July 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |