Re: Progrssbar Value for SP time taken
- From: "William \(Bill\) Vaughn" <billvaRemoveThis@xxxxxxxxxx>
- Date: Fri, 15 Apr 2005 11:10:53 -0700
Are you calling the SP asynchronously? Even if you are there is no way to
tell how long anything will run except by experience. For example, how long
does it take for you to get to work? You have a pretty good idea because you
go there every day under varying conditions. Knowing how long an SP will
take is about the same. It might take 3-20 seconds to execute so you could
increment your progress bar based on this timeframe. Some MS apps uses the
"exponential" approach. It bumps up the progress bar half the distance left
every few seconds. Others just increment the bar until it fills and reset it
to 0 to start over.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"DMP" <debdulal.mahapatra@xxxxxxxxxxxx> wrote in message
news:OLHgo$MQFHA.2932@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> I call a Stored Procedure(SQL-Server) from my VB Application
> and showing process on a progressbar.But I don't know how much time taken
> by SP.
> That is why I cannot show Progressbar value propotionately.
> How can i increse progressbar value properly ?
> Regards,
>
.
- References:
- Progrssbar Value for SP time taken
- From: DMP
- Progrssbar Value for SP time taken
- Prev by Date: Re: Sleeping Process after Connection is Closed
- Next by Date: Re: VB6 app crashes accessing recordset ONLY in NT4
- Previous by thread: Progrssbar Value for SP time taken
- Next by thread: Querying Password Protected Access Database in VB6
- Index(es):
Relevant Pages
|