hi
please help me finding what's wrong with this code

Dim i, j, x As Integer
        Dim n As Integer = 7
        Dim str As String = ""


        For i = 1 To n
            For j = 1 To n
                str = str & " "
            Next
            For x = 1 To i
                str = str & "*"
            Next

            str = str + vbCrLf
        Next
        MsgBox(str)

thanks in advance

hi again
I found the and solved the problem
but when showing the result in a msgbox it shown as required
but when it is shown in a label it is not shown properly
the attached image describe the problem