Add Colors With The ColorPicker Control (w/o Commondialog)

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Beginning
Author:
Patrick Lockefeer

Version Compatibility: Visual Basic 6

More information:
This code changes the backcolor/forecolor in a fast way without use of the Commondialog control. Click on the Colorpicker to open ColorPalette. Simply add the controls defined in the declaration comments.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: