I am using visual studio 2008, VB9, and I am trying to write an application that mainly performs calculations on a set of data entered by the user. During the calculations, I want to display data at each step and save them in the display area in the graphical interface (it is not overwritten by the following displayed data).
For example:
UserInput = 1
Do
UserInput += 1
OutputLabel.Text = "UserInput " & UserInput
Loop Until UserInput = 5
and the result will look like
UserInput 1 UserInput 2 UserInput 3 UserInput 4 UserInput 5
I tried this and other loop structures and it seems that I didn’t understand everything. The actual application is a little more complicated, but the example is well suited for logical purposes.
Any tips are welcome, thanks!
source
share