Microsoft KB Archive/80779

= VB Custom Controls Support only Certain Picture Formats =

Article ID: 80779

Article Last Modified on 11/18/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows

-



This article was previously published under Q80779



SUMMARY
The Load Picture dialog box for the 3-D Command Button, 3-D Group Push Button, Gauge, and Picture Clip custom controls include the extensions for picture formats that are invalid formats for these controls.



MORE INFORMATION
The 3-D Command Button, 3-D Group Push Button, Gauge, and Picture Clip custom controls use the same dialog box that Visual Basic uses to assign pictures to certain properties. However, not all .BMP, .ICO, and .WMF files are valid picture formats for the properties of these controls.

The following table lists the valid formats for the picture properties of custom controls and the error messages displayed if an invalid picture format is used:                                        Valid     Error Message if Control                Property         Formats   Invalid Format

3-D Command Button    Picture          .BMP,     &quot;Only Picture .ICO     Formats '.BMP' and '.ICO' supported.&quot;

3-D Group Push Button PictureUp,       .BMP      &quot;Only Picture Format PictureDn,                '.BMP' supported.&quot; PictureDisabled

Gauge                 Picture          .BMP,     &quot;Invalid Picture.&quot; .ICO

Picture Clip          Picture          .BMP      &quot;Only Picture Format '.BMP' supported.&quot; For additional information on Visual Basic version 2.0 custom controls, review the Professional Features manual.

Additional query words: 1.00 2.00 3.00

Keywords: KB80779

-

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

© Microsoft Corporation. All rights reserved.