Click here to Skip to main content
11,921,845 members (65,928 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB VB.NET bar
Dear all,
My application calls the backend stored procedure and get the results to the dataset, in the mean time i need to display the status of the procedure execution in my progress bar control in my Frontend Form. Please anyone give the idea to do this.

Posted 2-Jan-12 1:26am

1 solution

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

Solution 1

You can set the Style property of progress bar to 'Marquee'
bluesathish 2-Jan-12 7:16am
Hi Raimis9,
Thanks for your reply, I knew about it. But my problem is i've to show the progressbar blocks while the procedure runs, it should gets its maximum when procedure returns the results. Can you give idea for this?
Raimis9 2-Jan-12 7:32am
Hi, I'm not sure is it possible at all to get real progress indication. You can "simulate" indication. For example , if SP runs about one minute, increase progress bar value each second or two and after the dataset is filled, set the maximum value to the bar.
bluesathish 3-Jan-12 23:41pm
yeah, its a good idea.but what is the upper limit to be given for the progress bar, because each time the SP returns different results.

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

  Print Answers RSS
0 OriginalGriff 538
1 Dave Kreskowiak 260
2 Sergey Alexandrovich Kryukov 173
3 phil.o 170
4 RyanDev 134
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web04 | 2.8.151120.1 | Last Updated 2 Jan 2012
Copyright © CodeProject, 1999-2015
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