Quote (carteblanche @ Jun 2 2013 07:31pm)
Start with 1 loop if you can't figure out two loops. make it go from 1 to 5 horizontally. then change 5 to user input.
then add a second loop to go vertically
Thanks.
having some trouble getting it to actually go horizontal and vertical.
so far..
Quote
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
ListBox1.Items.Clear()
Dim TopC As Integer = TextBox1.Text
Dim SideR As Integer = TextBox2.Text
For counter = TopC To SideR
ListBox1.Items.Add(counter)
Next
End Sub
All it's doing is say.. I put 1 in to the first textbox, 10 into the second, it will print number 1-10, but if I do 10 and 10, it prints 10
This post was edited by Stickzz on Jun 2 2013 05:46pm