Progress bar

Submitted by: 
Visitors have accessed this post 16398 times.

progress bar. i wrote this code to understand the use of timer. hope this simple code helps u guys :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Thank you!!! Mr. cedrick blas your program is working successfully. I expect you will send me other important codes written in vb6 or mysql.

think it would look better if you add randomize function for the timer so that it would look like a horse race..^^<

i added this code in your work..

Function Random(Lowerbound As Long, Upperbound As Long)
Random = Int(Rnd * Upperbound) + Lowerbound
End Function

Private Sub Form_Load()
MsgBox "Developed By Ced", vbInformation, "Progress Bar"
Timer1.Interval = Random(1, 1000)
Timer3.Interval = Random(1, 1000)
Timer4.Interval = Random(1, 1000)
Timer5.Interval = Random(1, 1000)
Timer6.Interval = Random(1, 1000)
End Sub

tnx for the suggestion :) good work

how have colorful progressbar while loading?

hey hehehe i think there'so way to make a progress bar colurful :)
ive just distinguish the progresbar of XP w/c is blue and GREEN on windows 7 or vista.
depend on the OS :)

but u can make it colorful by making of pictures or different labels to load :)

Hey ced... good coding, i like it... thanks a lot


no problem hehe

eto po bang progress bar source code madali lng po iapply sa Visual Studio 2008 C# ?

example :

Loading : (progress bar dito) tpos d2 un (%)

un prang ganito po

Loading : l- - - - - - - -l 28%

Thanks po in advance !

God Bless !

thank you

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe>
  • 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.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.