Ok, I am making a simple calculator that will do basic calculations, show the times tables of a specific number (that has been input into textbox1) in a listbox in a new form, will display all answers previously found in a new form (in a listbox) and will save all the answer previously found.
the times tables of a specific number and all answers previously found will be in different forms
I am having a problem with the coding though:
A lot of this may seem really confusing, it is even to me
I hope someone can help
the times tables of a specific number and all answers previously found will be in different forms
I am having a problem with the coding though:
i can't seem to get my head around the coding for sending data to a new form and putting it in a listbox (showing the times tables)
I know that it comprises this coding to find the times tables but do not know how to send this to a lsitbox in a new form:
VB.NET:Dim number, answer As Integer ListBox1.Items.Add("Value Product") For number = 1 To 100 answer = number * Val(TextBox1.Text) ListBox1.Items.Add(number & " " & answer) Next number ListBox1.Items.Add(" ") 'print a blank line ListBox1.Items.Add(" End of Program ")
All of this data needs to be sent to Form3 from Form1 by Button7 being pressed
Basically it is the same trouble for sending all previous answers that have been found to a listbox in another form, but i don't know how to compile all the answers i have found in the calculator so far either...I'm thinking the use of an Array might work but i'm not sure
This will work by Button8 from Form1 being pressed and Form2 openign to display all the answers
Finally I need to save the data from Form2 (the data from the previous problem with my calculator, "Showing all Previous answers") in a notebook .txt file, this will be done by pressing Button2 which is on Form2
A lot of this may seem really confusing, it is even to me
I hope someone can help