FIX: JPG in Image or PictureBox Control Doesn't Display Properly (173213)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q173213 SYMPTOMS
When you display a JPG file in a PictureBox or Image control, the bottom
row of pixels is a different color. It looks like a line has been drawn
across the bottom of the image.
RESOLUTION
This problem only effects JPG images. One solution is to convert the image
to a different format. For example, you can use the Wang Imaging software
that comes with Windows NT 4.0 or the Microsoft Photo Editor available with
Microsoft Office 97 to convert the file format.
Alternatively, you can use a control other than the PictureBox or Image to
display the picture. The OLE Control does not exhibit this problem.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Basic 6.0.
Modification Type: | Minor | Last Reviewed: | 2/16/2005 |
---|
Keywords: | kbBug kbCtrl kbfix kbVBp600fix KB173213 |
---|
|