Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 459
  • Last Modified:

Excel VB.net Generate Long Value for a color dialog

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
Murray Brown
Asked:
Murray Brown
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
Me.ColorDialog1.Color.ToArgb()

Open in new window

http://msdn.microsoft.com/en-us/library/system.drawing.color.toargb.aspx
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Great! Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now