[TuT] How To Make A Progress bar in VB6 [TuT] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: [TuT] How To Make A Progress bar in VB6 [TuT] (/showthread.php?tid=6698) |
[TuT] How To Make A Progress bar in VB6 [TuT] - JesusOfSuburbia - 04-29-2010 Hi SupportForums, Today I want to show you a simple tutorial about how to make a progress bar in VB6. First you must include some components. Go to Project – Components – (in the list choose) Microsoft Windows Common Controls 5.0. You will see this now: Now double click on form1 and drag-and-drop a PrograssBar, a timer and a Button. It will look something like this: On form_load (simply double click on the form and you will be ready to write the code) wrote this line on code. Code: Private Sub Form_Load() It sets the value of the ProgressBar at min. First set the interval of the timer: Now double click on the timer and write this: Code: Private Sub Timer1_Timer() You probably understand this code. I wanted to make the progressbar faster from the middle of it. Double click on the button (its name has been changed into “close”) and write: Code: Private Sub Command1_Click() It will close the program. By JeusOfSuburbia Enjoy… RE: [TuT] How To Make A Progress bar in VB6 [TuT] - daneasaur - 04-29-2010 Nice tutorial. Spelling errors Now double click on form1 and drag-and-drop a PrograssBar, a timer and a Button. RE: [TuT] How To Make A Progress bar in VB6 [TuT] - TurB0 - 04-29-2010 Nice tutorial. Keep the great work... Newbies gonna learn alot RE: [TuT] How To Make A Progress bar in VB6 [TuT] - Rozzy - 04-29-2010 Very nice tutorial. I'm learning from this. Thanks for sharing. RE: [TuT] How To Make A Progress bar in VB6 [TuT] - JesusOfSuburbia - 04-30-2010 thank's guys. I have wrote this for all newbies that want learn! RE: [TuT] How To Make A Progress bar in VB6 [TuT] - //Pretext™ - 05-18-2010 Thanks for this, i will be using this later today, Bookmarked. |