PRB: Invalid picture Error Trying to Bind Picture Control in VB 3 (103115)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q103115 SYMPTOMS
If you try to bind a picture control to a Microsoft Access database field
that contains an OLE object such as a PaintBrush bitmap, you will
correctly receive the error "Invalid picture."
CAUSE
This error occurs because the picture control can only bind to a bitmap,
metafile, or icon stored in the database field -- not to an OLE object.
RESOLUTION
Using the method described below, you can simulate the binding of a picture
control to a PaintBrush OLE (or bitmap) object.
Modification Type: | Minor | Last Reviewed: | 2/14/2005 |
---|
Keywords: | kbprb KB103115 |
---|
|