FIX: File Not Loaded If No Extension in Load Picture Dialog (80643)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q80643 SYMPTOMS
When loading a Windows bitmap, icon, or metafile into the Picture
property of a Visual Basic form or picture control by using the Load
Picture dialog box (activated by choosing the ellipsis button to the
right of the Properties list box), the default filename extension
(BMP, WMF, ICO) is not automatically added if you enter a base
filename without an extension.
RESOLUTION
Type in the extension at the end of the filename. To correctly load a
file, you must specify both the base filename and the extension.
STATUS
Microsoft has confirmed this to be a bug in the products listed above.
This bug was corrected in Microsoft Visual Basic version 3.0 for
Windows. In Visual Basic version 3.0, .BMP is added as the extension
if none is specified.
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbbug kbfix KB80643 |
---|
|