i tried my best to do and finish this thing but i got one problem and i'll be happy to anyone who is going to help to solve this problem .... i'll put the codes right now .... th funny things i didt it in c++ but i couldnt do it in visual basic i'll be waiting ......... from anyone
Private Sub cmdClick_Click()
Dim Icount As Integer
Dim Jcount As Integer
Dim endpoint As Integer
endpoint = InputBox("Enter the ending point")
For Icount = 1 To endpoint
For Jcount = 1 To endpoint
If Icount > 1 And Icount < endpoint Then
txtDisplay = txtDisplay & ""
Else
If Jcount > 1 And Jcount < endpoint Then
txtDisplay = txtDisplay & "#"
Else
End If
End If
Next Jcount
txtDisplay = txtDisplay & "#" & vbCrLf
Next Icount
End Sub