Click here to Skip to main content
15,900,724 members

Comments by Member 11198864 (Top 2 by date)

Member 11198864 2-Nov-14 16:48pm View    
Hi, thanks for your answer but I already solved it . I did what Garth J Lancaster told me and I used Redim after it and know it's working. I subtract 1 because if the user wants a 4x4 square and they enter 4, you have to initialize your board as Dim board(3,3) as Label, 3 because it includes 0 and 3 so you have 4 rows and columns.
Member 11198864 1-Nov-14 21:31pm View    
Hi Garth, I'm sorry that I posted a picture first, but I have to make this for school and I thought that they might accuse me of plagiarism if this code showed up in Google. But I did what you told me and I have no error know, but know I see only 1 tile instead of 16, so it still sees the txtSquare.Text as 0 while it has the value 4 in it. And I think that the form loads before the reference to txtSquare.Text. What could I do to let it change the board at any time? Thank you Garth!!