colordialog1.color will yield "Color [A=255, R=95, G=33, B=222]", but i would like to return an integer like 2349821 instead. how is this possible?
+1
A:
Adding on to BlueMonkMN's answer
If you need the Alpha byte:
colorDialog1.Color.ToArgb()
If you don't want the Alpha byte:
colorDialog1.Color.ToArgb() And &H00ffffff
MiffTheFox
2009-08-07 02:16:24