Loading

Progress bar

Submitted by: 
Language: 
Visitors have accessed this post 15782 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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

Thank you!!! Mr. cedrick blas your profressbar.zip 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)
Randomize
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?

ced's picture

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

^_____________________*

ced's picture

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

(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.

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.
  • Lines and paragraphs break automatically.