Return Hexadecimal, RGB, or Long Value From the Color Common Dialog
Category:
Forms and ControlsType:
ModulesDifficulty:
IntermediateAuthor:
JayVersion Compatibility: Visual Basic 5
More information:
This demo shows you how to call the common dialog control color palette and select a color. In addition, it provides three possible returns modes: a long value from 0 to 16,777,215, three decimal RGB values each ranging from 0 to 255, or three hexadecimal RGB values, each ranging from 00 to FF.
More information is contained within the readme file included in the package.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.
Download color_func.zip