Nevermind, I found out how to get these.
Below is a sample for anyone else who reads this and might not know..
there may be a better way but this will get the info in a file for me and
that is all I care about... and there may be more than 165 known colors but
I don't think so.
Dim c As Color
For i As Byte = 0 To 165
c = Color.FromKnownColor(i)
Debug.WriteLine(String.Format("{0} : {1},{2},{3}",
c.ToKnownColor.ToString(), c.R, c.G, c.B))
Next
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:u%****************@TK2MSFTNGP12.phx.gbl...
How can I get value pairs of named colors and the color they represent?
I want to easily get these colornames and then their associated color
values into a file so I can add to the list and offer this list in an owner drawn
listbox for the user to choose colors.
thanks,
Shane