User Profile
Collapse
-
I appreciate the help but that is far too advanced for what i'm doing lol, I just need to use 2 for statements -
Yes thank you for the tips killer, i've made the changes, but at this point it just displays "0" and in fact freezes once it's running, have to use task manager to close it.
This is what I have now:
...Code:Dim A As Integer Dim B As Integer Dim g_str As String = "" Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.ClickLeave a comment:
-
-
Ok this is where i'm at now:
...Code:Dim A As Integer Dim B As Integer = 0 Dim g_str As String = "The matrix is:" & vbNewLine Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click Dim B As Integer = 0 For A = 0 To 49 For B = 0 To 4 g_str &= " 0 "Leave a comment:
-
Yeah I am using the express edition, it does make sub directories for them but it just says Your project currently has no data sources associated with it.Leave a comment:
-
Correct. i'm not looking for any interaction, just for the window to show the table.
Now i've run in to my next problem, after working on it last night i go to pull it up and while the project exsists, the Form and Design are nowhere to be found and I know I saved them both each time before trying to run it.
I know this is simple for some but man this program is frustrating lolLeave a comment:
-
Now if I don't use a text box then I would just need to put it in a msgbox instead fo rthe window to pop up correct?
I'm using VB2005Leave a comment:
-
Sorry if my wording was misleading, i'm by no means looking for someone to tell me the answer, I've been attempting and had a much better understanding when I had my example but i don't anymore!
What I have so far is stating
Dim"name" as integer
I know I need to create a For statement, so I need to use 2 variables such as "x" and "y", is it as simple as x= 0 to 49 and y=...Leave a comment:
-
Nested For Loop to populate matrix
So this is an introductory course, but i'm having the hardest time understanding how to do this problem. By clicking on one button it's supposed to have the following output:
0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
20 21 22 23 24
25 26 27 28 29
30 31 32 33 34
35 36 37 38 39
40 41 42 43 44
45 46 47 48 49
Five numbers a line for 10 lines.I know we're...
No activity results to display
Show More
Leave a comment: