Loading

how to put loading or progress bar

10 posts / 0 new
Last post
jem
Offline
Joined: 12/17/2009
how to put loading or progress bar

hello please help me on how to make this loading bar or progress bar can you help me please..hoping for your positive responds....thanks in advance

renz09's picture
Offline
Joined: 10/24/2009
progress bar:

'you need to add progress bar to your form
'right click the toolbox then select components
'then select and check microsoft windows common control 6.0
'add timer to your form..

Private Sub Timer1_Timer()
'-------------------------------------------------------------------------
'-------------------------------------------------------------------------
ProgressBar1.Value = ProgressBar1 + 10
If ProgressBar1.Value = ProgressBar1.Max Then
ProgressBar1.Value = ProgressBar1.Min
Else
End If
If ProgressBar1 = Max Then
Unload Me
Form2.Show
End If

End Sub

hope this code help you.......

jem
Offline
Joined: 12/17/2009
renz09 thanks

hi renz09 thanks for the reply....more power to you...

renz09's picture
Offline
Joined: 10/24/2009
hi JEM.....

uhm...did my code work? I hope so...

jem
Offline
Joined: 12/17/2009
how to put the progress number

hello i tried your code and it works but is it possible to put the progress number..example 1percent.2 percent..etc....please help me if you know this

renz09's picture
Offline
Joined: 10/24/2009
try this code...

try this code, the code is easy to understand...

Private Sub Timer1_Timer()

If Timer1.Enabled = True Then
ProgressBar1.Value = ProgressBar1.Value + 1
End If
If ProgressBar1.Value = 100 Then
Unload Me
End If

End Sub

did I answer your quaries....hope so...

Anonymous
hai

is this really functional.. if this is so i say thank you.. bec. this is my assignment

Anonymous
color of progress bar

how to create loading progressbar with color?

Anonymous
how can create loading or progress bar in c++ or C

how can create loading or progress bar in c++ or C ?.. any buddy tell me .......

Anonymous
how

how about na prng circle lng ung loading nya?

Pages

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.