Visual Basic Can Load RLE4 and RLE8 Bitmap Format Files (86283)



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition for Windows 2.0
  • Microsoft Visual Basic Standard Edition for Windows 3.0
  • Microsoft Visual Basic Professional Edition for Windows 2.0
  • Microsoft Visual Basic Professional Edition for Windows 3.0
  • Microsoft Visual Basic Standard Edition for Windows 1.0

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).

Modification Type:MajorLast Reviewed:12/12/2003
Keywords:KB86283