How about this:
VB Code:
Dim intRandRed As Integer, intRandGreen As Integer, intRandBlue As Integer Randomize() intRandRed = Int((256) * Rnd()) Randomize() intRandGreen = Int((256) * Rnd()) Randomize() intRandBlue = Int((256) * Rnd()) System.Drawing.Color.FromArgb(intRandRed, intRandGreen, intRandBlue)




Reply With Quote