Microsoft KB Archive/86283

= Visual Basic Can Load RLE4 and RLE8 Bitmap Format Files =

Article ID: 86283

Article Last Modified on 12/12/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Standard Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 1.0 Standard Edition

-



This article was previously published under Q86283



SUMMARY
Microsoft Visual Basic can load icons (.ICO), Windows metafiles (.WMF), Windows bitmap files (.BMP), and Windows compressed bitmap files (.RLE), both RLE4 and RLE8.



MORE INFORMATION
You can load an .RLE bitmap file as you would any other bitmap. For example, at design time you can set the Picture property of a picture box or form to an .RLE file. You can also use the LoadPicture function at run time to load the .RLE file into a picture box or form.

Although Visual Basic can load these image formats, the SavePicture statement can only save images in the regular Windows bitmap (.BMP) or Windows icon (.ICO) file format.

To save an image as an icon (.ICO), you must first load it as an icon. You can change the image using graphics methods such as Line and PSet, and then save the Picture property of the picture box or form as an icon (.ICO). Otherwise, you can only save images as Windows bitmap files (.BMP).

Additional query words: 2.00 3.00

Keywords: KB86283

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.