For Each clr as object In Colors
If Not Color.FromKnownColor(CType(clr,
KnownColor)).IsSystemColor Then
alColor.Add(clr.ToString)
End If
Next
Thanks so much.
System.Enum.Parse
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Thank you so much!
KnownColor kc=(KnownColor) Enum.Parse(typeof(KnownColor), "White", true);
mianiro wrote:
Convert string to KnownColor?
05-Apr-07
Thanks so much.
Previous Posts In This Thread:
On Thursday, April 05, 2007 4:12 PM
mianiro wrote:
Convert string to KnownColor?
Thanks so much.
On Thursday, April 05, 2007 5:40 PM
Mattias Sj?gren wrote:
Re: Convert string to KnownColor?
System.Enum.Parse
Mattias
--
Mattias Sj?gren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
On Friday, April 06, 2007 7:38 AM
mianiro wrote:
Re: Convert string to KnownColor?
wrote:
net/|http://www.dotnetinterop.com
Thank you so much!
EggHeadCafe - Software Developer Portal of Choice
Sum of Numbers Captcha: Keeping it Simple
http://www.eggheadcafe.com/tutorials/aspnet/8eacfaca-3629-4d40-9d83-8eb1c526ca7f/sum-of-numbers-captcha-k.aspx