K
ken
Hi,
I have two questions the first is: in the example below how can I call
an event from within a statement, such as replace Stop1 with cmdStop1
which is a button on my form?
My second question again deals with the example below. Shouldn't I see
the valve of " i" counting away in the txtCount1 text box? I don't
see anything in the text box and would like to know what I'm doing
wrong. Thanks in advance for any and all help.
Regards,
Ken
Stop1 = 0
Do
For i As Integer = 1 To 10
txtCount1.Text = i
If Stop1 = 1 Then
Exit Do
End If
Next i
Loop
End Sub
I have two questions the first is: in the example below how can I call
an event from within a statement, such as replace Stop1 with cmdStop1
which is a button on my form?
My second question again deals with the example below. Shouldn't I see
the valve of " i" counting away in the txtCount1 text box? I don't
see anything in the text box and would like to know what I'm doing
wrong. Thanks in advance for any and all help.
Regards,
Ken
Stop1 = 0
Do
For i As Integer = 1 To 10
txtCount1.Text = i
If Stop1 = 1 Then
Exit Do
End If
Next i
Loop
End Sub