need help
-
- Posts: 22
- Joined: Fri Feb 03, 2006 4:23 pm
need help
How do I get the progress bar to be fake? How do you get it to look like it is loading, when it isnt?
-
- Posts: 108
- Joined: Sat May 07, 2005 8:21 pm
- Contact:
just set the progressbar maximum to 100 or somthing of a good number i think that is the best to work with
then set the minimum to 0
so
ProgressBar1.Maximum = 100
ProgressBar1.Minimum = 0
ProgressBar1.Value = 1
then just increase the value every sec or so with a timer
then once you hit 100 just do
If ProgressBar1.Value = 100 Then
ProgressBar1.Value = 0
End If
that will reset it so it wont go over
thats all the basics all you need to do now is mess with it till you find something you like
good luck
then set the minimum to 0
so
ProgressBar1.Maximum = 100
ProgressBar1.Minimum = 0
ProgressBar1.Value = 1
then just increase the value every sec or so with a timer
then once you hit 100 just do
If ProgressBar1.Value = 100 Then
ProgressBar1.Value = 0
End If
that will reset it so it wont go over
thats all the basics all you need to do now is mess with it till you find something you like
good luck

-
- Posts: 22
- Joined: Fri Feb 03, 2006 4:23 pm
Public Class Form1
Private Sub ProgressBar1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProgressBar1.Click
ProgressBar1.Maximum = 100
ProgressBar1.Minimum = 0
ProgressBar1.Value = 1
If ProgressBar1.Value = 100 Then
ProgressBar1.Value = 0
End If
End Sub
End Class
Is that what I have to do? Is that right?
Private Sub ProgressBar1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProgressBar1.Click
ProgressBar1.Maximum = 100
ProgressBar1.Minimum = 0
ProgressBar1.Value = 1
If ProgressBar1.Value = 100 Then
ProgressBar1.Value = 0
End If
End Sub
End Class
Is that what I have to do? Is that right?
-
- Posts: 108
- Joined: Sat May 07, 2005 8:21 pm
- Contact: