Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI ,

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

Thanks,
Sivasankaran G
Posted

1 solution

 
Share this answer
 
Comments
Gssankar 12-Sep-12 1:41am    
hii 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.
Gssankar 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.
Gssankar 12-Sep-12 2:48am    
Thanks Karthik its works

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900