Hi,
I want to write a for..next loop...for a "For next " button...
when clicked, the loop will execute for a short period (This time should be kept track of by the counter) and stop.....
When the button is clicked "For next"...the speed of the object should increase and then stop....The object should move 5 times(or how ever), then stop..
i tried this but it's not workin..am lost...
Private Sub ForNextButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles xForNextButton.Click
For Counter = 0 To 1000
'do somtething----the something i want to do is repeat the moving process 5 times (or what ever) and at a fast speed---how do i write that
Next
Private Sub MainForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Counter = 1000
xCounterTextBox.Text = Counter