BUG: ADO Bound OLE Control Does Not Display Bitmap (191103)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
This article was previously published under Q191103 SYMPTOMS
When you try to set the DataSource property for an OLE Control to an ADO
Data Control, the following message appears:
No compatible data source was found for this control. Please add an
intrinsic Data Control or a Remote Data Control to the form.
CAUSE
The OLE Container Control is not designed to work with the ADO Data Control
or its underlying IRowSet interface.
RESOLUTION
You 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.
STATUS
This behavior is by design.
REFERENCES
For additional information, please click the article number below
to view the article in the Microsoft Knowledge Base:
194975 HOWTO: Sample Functions Demonstrating GetChunk and AppendChunk
Modification Type: | Minor | Last Reviewed: | 3/2/2005 |
---|
Keywords: | kbBug KB191103 |
---|
|