Click here to Skip to main content
13,145,774 members (66,930 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
HI ,

how to run the progress bar while the process gets complete in vb6.

Thanks,
Sivasankaran G
Posted 11-Sep-12 19:04pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Sivaguru88 12-Sep-12 1:41am
   
hi
i am calling another form it contains 4 functions after the function process completes the progress bar run.
Karthik Harve 12-Sep-12 1:56am
   
whereever you want just access the progress bar control and set the value for that.
Sivaguru88 12-Sep-12 2:05am
   
hi karthik

how to run the function and progress bar function?
Karthik Harve 12-Sep-12 2:12am
   
try this in your current form.

Form2 frm = new Form2();
progressbar1.value = 0;
frm.Function1();
progressbar1.value = 25;
frm.Function2();
progressbar1.value = 50;
frm.Function3();
progressbar1.value = 75;
frm.Function4();
progressbar1.value = 100;

So, your progress bar starts when the funtion1 is executing and ends when function4 completes.
Sivaguru88 12-Sep-12 2:48am
   
Thanks Karthik its works
Karthik Harve 12-Sep-12 2:50am
   
cheers.!!!
Sivaguru88 12-Sep-12 2:52am
   
:) Cheers.!!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100