Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Yearwood
  Where is Mike Yearwood?
 Toronto
 Canada
 Mike Yearwood
 To: Samir Ibrahim
  Where is Samir Ibrahim?
 Chekka
 Lebanon
 Samir Ibrahim
 Tags
Subject: RE: SQL Progress Bar
Thread ID: 209120 Message ID: 209593 # Views: 3 # Ratings: 1
Version: Visual FoxPro 6 Category: Databases, Tables and SQL Server
Date: Monday, December 29, 2008 7:51:01 PM         
   


> > It would be clearer to say gif file is better when you cannot get intermediate steps of the process. The END point in this example is either a connection or a failure to connect.
>
> Maybe we both know how to do the programming for progress bar, and it is naming issue.
>
> correct me if i am wrong,
>
> suppose you want to make progress bar to copy 200 files from one directory to another
> as you said above, the intermediate steps is counting how much "copying" is done.
>
> If you don't know the END (200) how you can make progress bar work correctly with just
> knowing the intermediate ?
>
> Samir R. Ibrahim
> Good things Take time, Great things happend all at once. My WebLog My Website: www.cdcity.org

Intermediate means "occurring between two extremes, or in the middle of a range"

The extremes or the bounds of the range must be known for there to be intermediates.

The end point is a successful connection. The beginning point is no connection. There appear to be no intermediate points with which to show progress from the beginning to the end.

I think something may be done using the connection timeout. If the timeout is 15 seconds, set up something that will advance every second. If during that time, the connection works, advance to 100%. Off the top of my head, I don't know if a timer can fire while the connection is being attempted.

Mike Yearwood
Microsoft MVP Visual FoxPro 2008



We have enough youth. We need a fountain of smart!
There may be many ways to skin a cat, but there are very few right ways to do it.

ENTIRE THREAD

SQL Progress Bar Posted by subhankar pandey @ 12/24/2008 12:01:14 PM
RE: SQL Progress Bar Posted by Koen Piller @ 12/24/2008 2:26:39 PM
RE: SQL Progress Bar Posted by mk sharma @ 12/30/2008 4:25:19 PM
RE: SQL Progress Bar Posted by Koen Piller @ 12/30/2008 4:38:20 PM
RE: SQL Progress Bar Posted by mk sharma @ 12/30/2008 4:40:37 PM
RE: SQL Progress Bar Posted by Koen Piller @ 1/2/2009 10:27:09 AM
RE: SQL Progress Bar Posted by Anil Sharma @ 12/25/2008 6:51:02 AM
RE: SQL Progress Bar Posted by Koen Piller @ 12/25/2008 9:34:55 AM
RE: SQL Progress Bar Posted by Anil Sharma @ 12/25/2008 10:37:53 AM
RE: SQL Progress Bar Posted by Koen Piller @ 12/25/2008 12:35:20 PM
RE: SQL Progress Bar Posted by Om Rajan @ 12/25/2008 12:48:16 PM
RE: SQL Progress Bar Posted by Koen Piller @ 12/25/2008 2:11:31 PM
RE: SQL Progress Bar Posted by Om Rajan @ 12/25/2008 7:09:49 PM
RE: SQL Progress Bar Posted by Mike Yearwood @ 12/28/2008 4:32:56 PM
RE: SQL Progress Bar Posted by Samir Ibrahim @ 12/25/2008 8:42:54 PM
RE: SQL Progress Bar Posted by Koen Piller @ 12/26/2008 8:58:46 AM
RE: SQL Progress Bar Posted by Samir Ibrahim @ 12/26/2008 9:46:11 AM
RE: SQL Progress Bar Posted by Mike Yearwood @ 12/28/2008 4:35:06 PM
RE: SQL Progress Bar Posted by Samir Ibrahim @ 12/29/2008 12:42:40 PM
RE: SQL Progress Bar Posted by Mike Yearwood @ 12/29/2008 7:51:01 PM
RE: SQL Progress Bar Posted by Samir Ibrahim @ 12/30/2008 10:39:16 AM
RE: SQL Progress Bar Posted by subhankar pandey @ 12/26/2008 10:55:35 AM
RE: SQL Progress Bar Posted by Anil Sharma @ 12/26/2008 11:09:52 AM
RE: SQL Progress Bar Posted by subhankar pandey @ 12/27/2008 5:55:11 AM
RE: SQL Progress Bar Posted by Anil Sharma @ 12/27/2008 7:05:36 AM
RE: SQL Progress Bar Posted by mk sharma @ 12/30/2008 4:22:36 PM
RE: SQL Progress Bar Posted by Anil Sharma @ 1/2/2009 8:03:43 AM
RE: SQL Progress Bar Posted by Mike Yearwood @ 12/30/2008 7:45:19 PM
RE: SQL Progress Bar Posted by subhankar pandey @ 1/7/2009 1:14:26 PM