PRB: MFC ActiveX Control BLOB Props Missing While Printing in Internet Explorer (200932)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
- Microsoft Internet Explorer (Programming) 5
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Editions 4.0
- Microsoft Visual C++, 32-bit Editions 4.0a
- Microsoft Visual C++, 32-bit Editions 4.1
- Microsoft Visual C++, 32-bit Editions 4.2
- Microsoft Visual C++, 32-bit Editions 4.2b
- Microsoft Visual C++, 32-bit Editions 5.0
- Microsoft Visual C++, 32-bit Editions 6.0
This article was previously published under Q200932 SYMPTOMS
When printing a Web page containing an MFC ActiveX control that persists one or more BLOB properties using PX_Blob, those properties print incorrectly.
CAUSE
Internet Explorer, version 4.0 and later, does not currently support persistence of MFC's BLOB properties.
When printing HTML content, Internet Explorer first saves a temporary copy of all control properties and then uses them to create a new instance of the control on a new hidden copy of the HTML page. This allows Internet Explorer to do background printing--the user can continue to use the browser while the hidden HTML page is printing. However, because BLOB properties are not persisted, the new ActiveX control instance loses any data from BLOB properties that was present before the page was printed.
RESOLUTION
The only known workaround is to convert essential properties away from the BLOB data type, possibly to the BSTR or SAFEARRAY data types.
Modification Type: | Major | Last Reviewed: | 7/22/2001 |
---|
Keywords: | kbCtrl kbCtrlCreate kbDHTML kbDSupport kbprb KB200932 |
---|
|