Page 1 of 1
need help
Posted: Tue Feb 07, 2006 2:42 pm
by lonestar888
How do I get the progress bar to be fake? How do you get it to look like it is loading, when it isnt?
Posted: Thu Feb 09, 2006 8:41 am
by xxANTMANxx
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

Posted: Thu Feb 09, 2006 2:51 pm
by lonestar888
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?
Posted: Thu Feb 09, 2006 5:22 pm
by xxANTMANxx
no you would have to use a timer to make it go up each sec because the way it is now will just make it go to 1