visual studio 2010 - A VB Progress Bar that moves on timers interval? -


i making program in visual basic 2010, , wondering if progress bar move accounting on timer? if yes, helpful current task.

try in vb.net:

do      threading.thread.sleep(100)     progressbar1.performstep()   loop until progressbar1.value >= progressbar1.maximum 

http://checktechno.blogspot.com/2013/03/example-progressbar-in-visual-basic.html

or in c#:

do {     system.threading.thread.sleep(100);     progressbar1.performstep(); } while (!(progressbar1.value >= progressbar1.maximum)); 

where "sleep" set constant @ 100 ms. dynamically set value timer.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -