Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27034

Change a Pretest to a post test

$
0
0
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

Viewing all articles
Browse latest Browse all 27034

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>