Visual Basic Can Load RLE4 and RLE8 Bitmap Format Files

ID: Q86283


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for Windows, versions 2.0, 3.0
  • Microsoft Visual Basic programming system for Windows, version 1.0


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 :
Version :
Platform :
Issue type :


Last Reviewed: September 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.