FIX: Resource Drain with PictureBox on Form (168554)
The information in this article applies to:
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q168554 SYMPTOMS
In Visual Basic 5.0 running under Windows 95 or Windows 98, setting the
Appearance property of a PictureBox to 0-Flat causes resources to be lost
each time the form is unloaded. If the Appearance Property is set to 1-3D,
resources are not lost.
This occurs with a PictureBox placed either directly on a form or on a
UserControl that is placed on the form.
RESOLUTION
Set the appearance property to 1-3D or use a different container, such as
an Image control or UserControl, depending on your application.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in the Visual
Studio 97 Service Pack 1.
Modification Type: | Major | Last Reviewed: | 11/21/2003 |
---|
Keywords: | kbBug kbControl kbfix kbVS97sp1fix KB168554 |
---|
|