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

x
?
Solved

VB Code Web Form set color

Posted on 2013-01-11
2
Medium Priority
?
293 Views
Last Modified: 2013-01-11
I'd like to set colors in my VB COde to "#c1c1c1"

Not Drawing.Color.Whatever
0
Comment
Question by:lrbrister
2 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 38768500
Use following

 System.Drawing.ColorTranslator.FromHtml("#c1c1c1");
0
 

Author Closing Comment

by:lrbrister
ID: 38768518
Codecruiser,
  Thanks.  You gave me that about 2 years ago and I just hadn't used in in a while.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

877 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