Palettes for Visual Basic 6.0 Users

The Palette and PaletteMode properties in Visual Basic 6.0 have no equivalent in Visual Basic 2008.

In Visual Basic 6.0, the Palette and PaletteMode properties of a form control the colors used when displaying images on a 256-color display. These properties have no effect on displays that supported more than 256 colors.

Visual Basic 2008 does not support the Palette or PaletteMode properties. Today's display devices typically display thousands or millions of colors and there is no longer a need to specify a palette for an image.


The Image object in Visual Basic 2008 has a Palette property for rendering images; this is not the same as the Visual Basic 6.0 Palette property.

When upgrading a Visual Basic 6.0 application to Visual Basic 2008, any code that references the Palette or PaletteMode property is not upgraded. The upgrade wizard inserts a warning in your code; you will need to delete the code that references these properties.

Community Additions