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

Show message while progressbar is processing

$
0
0
So I want to make a Text while ProgressBar is processing. A text will show below the progressbar like. "Please wait...." then a second text if it hits the middle of the bar it will say "Verifying..." and the last text if it hits the last bar or the end will be "Complete!" something like this..

This are my codes

Code:

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        ProgressBar1.Increment(1)
        If ProgressBar1.Value = ProgressBar1.Maximum Then
            Button2.Enabled = True
        End If
        Label2.Text = ProgressBar1.Value & (" %")
    End Sub


Code:

    Private Sub ProgressBar1_Click(sender As Object, e As EventArgs) Handles ProgressBar1.Click

    End Sub

Thanks!

Viewing all articles
Browse latest Browse all 27360

Trending Articles



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