The '=' operator only exists for a type if it has been defined in that type. '=' is defined for the Color type from .NET 2.0 but it isn't in .NET 1.x. Try using the Equals method instead:
vb.net Code:
  1. If Me.Label1.BackColor.Equals(Color.Green) Then
In future, please provide ALL the information in the first post. The code you used and the error message it produced are always relevant.