FIX: JPG in Image or PictureBox Control Doesn't Display Properly
Article ID: 173213
Article Last Modified on 2/16/2005
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
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.
STATUS
Microsoft 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.
Additional query words: jpeg
Keywords: kbbug kbfix kbvbp600fix kbctrl KB173213