Solved

How to get list of system.drawing.colors

Posted on 2011-03-12
5
689 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

838 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