The information in this article applies to:
SYMPTOMSWhen you try to set the DataSource property for an OLE Control to an ADO Data Control, the following message appears:
CAUSEThe OLE Container Control is not designed to work with the ADO Data Control or its underlying IRowSet interface. RESOLUTIONYou can use the AppendChunk and GetChunk methods to store the data in a long binary data type. This bypasses the problem of the OLE Header information. You can also workaround this problem by using the standard Data Control bound to an OLE Container Control to display the BMP. STATUSThis behavior is by design. MORE INFORMATIONFor best performance, do not store BLOB(Binary Large Object) data in the database. It is best to allow the native format (that is, BMP, GIF, or PCS files) to hold the pictures. You could have a link in the table to point to the picture file itself. Steps to Reproduce Behavior
REFERENCESFor additional information, please click the article number below to view the article in the Microsoft Knowledge Base: Q194975 HOWTO: Sample Functions Demonstrating GetChunk and AppendChunk Additional query words:
Keywords : kbVBp600bug |
Last Reviewed: October 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |