I need to use two forms in one program for another school project. The textbook is annoyingly vague as to how to do this.
It states that I should use the line
Dim secondForm as New Form2()
but it doesn't say anything enlightening after that.
The program is a supposed to get information about travel expenses, sum it up, and display the information in a separate window in a listbox. I get how to add items to a list box. I get how to do the calculations. I even get how to call sub procedures and functions. What I don't understand is how to do this all in more than one form within the same program. I also do not understand where in the first form I am supposed to put the above line of code.
Any ideas?
poijoy
It states that I should use the line
Dim secondForm as New Form2()
but it doesn't say anything enlightening after that.
The program is a supposed to get information about travel expenses, sum it up, and display the information in a separate window in a listbox. I get how to add items to a list box. I get how to do the calculations. I even get how to call sub procedures and functions. What I don't understand is how to do this all in more than one form within the same program. I also do not understand where in the first form I am supposed to put the above line of code.
Any ideas?
poijoy
Comment