Jump to content
bt.ionut

vbasic progress bar

Recommended Posts

Posted

Am urmatorul cod:

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
ProgressBar1.Value = ProgressBar1.Value + 1
If ProgressBar1.Value = 10 Then
Label1.Text = "Connecting to minecraft.net"
End If
If ProgressBar1.Value = 60 Then
Label1.Text = "Succefully connected!"
End If
If ProgressBar1.Value = 70 Then
Label1.Text = "Change username..."
End If
If ProgressBar1.Value = 100 Then
Label1.Text = "Done!"
ProgressBar1.Value = 100
Timer1.Stop()
End If
End Sub

Bara se incarca prea repede, cum o fac sa se incarce mai greu ?

Am cautat pe net, am incercat sa modific Value insa primesc nise erori, in alte cazuri doar se blocheaza.

Merci.

Posted (edited)

A number of large application such as setups, database driven application and file transfer we can used the progress bars. A VB in the progress bar can be included in through the microsoft windows common controls components.

Edited by evangilbort

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...