Great. Thanks a lot so far.
In this case I have to assign a color to the variable c but I want the
result by dynamic by picking a color inside the dialog. When doing this the
color is assigned to the variable MyDialog.Color. And it is not possible (for
me) to put the value of MyDialog.Color in a string.
Please respond.
[quoted text, click to view] "Herfried K. Wagner [MVP]" wrote:
> "tmoeller" <tmoeller@discussions.microsoft.com> schrieb:
> > Maybe I am to stupid bt I do not understand your solution. I am wrinting
> > in
> > VB 2005 Express. Could you possibly write your solution with using my
> > variables?
> >
> >> Color c;
> >> string s = string.Format("{0} {1} {2}", c.R, c.B, c.G);
>
> \\\
> Dim c As Color = ...
> Dim s As String = String.Format("{0} {1} {2}", c.R, c.B, c.G)
> ///
>
> --
> M S Herfried K. Wagner
> M V P <URL:
http://dotnet.mvps.org/> > V B <URL:
http://classicvb.org/petition/> >