Solved

Excel VB.net Generate Long Value for a color dialog

Posted on 2013-06-20
2
442 Views
Last Modified: 2013-06-20
Hi

How do I get a long value for the color that a user chooses on a  ColorDialog control
I currently use     sColor = Me.ColorDialog1.Color.ToString
0
Comment
Question by:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 39261684
Me.ColorDialog1.Color.ToArgb()

Open in new window

http://msdn.microsoft.com/en-us/library/system.drawing.color.toargb.aspx
0
 

Author Closing Comment

by:Murray Brown
ID: 39261712
Great! Thanks
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

696 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