Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to get list of system.drawing.colors

Posted on 2011-03-12
5
Medium Priority
?
695 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 86

Accepted Solution

by:
Mike Tomlinson earned 1000 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 86

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Loops Section Overview
Suggested Courses

783 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