Rainbow Generator

Category:
Screen/Graphics
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This is an extremly simple Rainbow Generator. See how a rainbow is generated with the varaitions in the values of primary colors - Red, Green and Blue. No APIs used.

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

Declarations:

Code: