View Single Post
 
Old August 1st, 2005, 04:16 PM
katsarosj katsarosj is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

You are probably better off to use the RGB value than a named color. Try this, it worked for me:

If pixelcolor.Equals(Color.FromArgb(0, 0, 0)) Then
  MessageBox.Show("YAY")
End If