Solved

How to get list of system.drawing.colors

Posted on 2011-03-12
5
686 Views
Last Modified: 2012-05-11
I'm trying to fill a dropdown with a list of system.drawing.colors.  Using vs2008 and vb.

How can I get the colors into a array so I can bind to dropdown.
0
Comment
Question by:mgmhicks
  • 3
  • 2
5 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 250 total points
ID: 35118410
0
 

Author Comment

by:mgmhicks
ID: 35118497
Private KnownColors As New List(Of KnownColor)

this line gives me knowncolor not defined
0
 

Author Comment

by:mgmhicks
ID: 35118504
Idle Mind this is a webpage, not sure you know that.
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 35118506
0
 

Author Comment

by:mgmhicks
ID: 35118510
It worked I have had imports system.drawing.color as soon as I removed color it worked

thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now