im stuck can anyone help me out there has to be a better way to determin if a string is or is not a colour ....
this is what i've found but im not using it ....
Code:Dim mycc As New ColorConverter Try Dim lbl As New Label lbl.BackColor = mycc.ConvertFrom($STRING) IsColour = True Catch ex As Exception IsColour = False Return True End Try




Reply With Quote