I made some icons that have 256 color gradients on them. Using the toolbar and imagelist controls, I loaded the icons into the toolbar. The first time I ran the code, the icons looked fine. However, during the second run and after, the color gradients were not visible in the icons, and the colors degenerated to something like 16 colors.

How can I turn on 256 colors in VB? My monitor is already 256 since I can see the color gradients on the original icons.

-lp