Change a Pretest to a post test
My instructions for this assignment is to changing the pretest loop to a post test? I've gone over the text book and can get all the definitions but can't find how to actually make this change
Private Sub btnClickMe_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnClickMe.Click
' blinks the message in the lblMessage control
' declare counter variable
Dim intCount As Integer
' begin counting
intCount = 1
Do While intCount <= 20
If lblMessage.Visible = False Then
lblMessage.Visible = True
Else
lblMessage.Visible = False
End If
Me.Refresh()
System.Threading.Thread.Sleep(250)
' update the counter variable
intCount = intCount + 1
Loop
End Sub
Edit / Delete Edit Post Quick reply to this message Reply Reply With Quote Reply With Quote Multi-Quote This Message
+ Reply to Thread
Quick Navigation Visual Basic FAQs Top
Quick Reply Quick Reply
My instructions for this assignment is to changing the pretest loop to a post test? I've gone over the text book and can get all the definitions but can't find how to actually make this change
Private Sub btnClickMe_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnClickMe.Click
' blinks the message in the lblMessage control
' declare counter variable
Dim intCount As Integer
' begin counting
intCount = 1
Do While intCount <= 20
If lblMessage.Visible = False Then
lblMessage.Visible = True
Else
lblMessage.Visible = False
End If
Me.Refresh()
System.Threading.Thread.Sleep(250)
' update the counter variable
intCount = intCount + 1
Loop
End Sub
Edit / Delete Edit Post Quick reply to this message Reply Reply With Quote Reply With Quote Multi-Quote This Message
+ Reply to Thread
Quick Navigation Visual Basic FAQs Top
Quick Reply Quick Reply