Hi Steve
I think I understand what you mean. Do this:
Start a new Windows application
Add two labels to your form (Label1 & Label2 respectively)
Add a button (Button1)
Double-click the button & paste in the following text:
Label1.Text = CInt(Int((12 * Rnd()) + 1))
Label2.Text = StrDup(CInt(Label1.Text), Chr(73))
The 'StrDup takes the number from the first label, converts it to integer.
The second parameter is your character (chr(73) or '1') is then duplicated.
I hope I understood you correctly & this has helped.
"Steve" wrote:
I have labelbox1 that generates a random number between 0 and 12. In
labelbox2 I want it to be filled with an ascii character code "chr(73)".
What ever number appears in the labelbox1 is how many characters I want to
appear in labelbox2.
Thanks for any help
sc