Solved

How to get list of system.drawing.colors

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

680 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