Thanx for the fast respons !!!
However when it comes to the progress bar:
I knoe the property and i have used it, but in this case i do NOT know
*beforehand* the total number of entries that will be contained in order to
set prgBar.Maximum = maxnumber
Is there a way around this?
Thanx again
steve
> Hi Steve!
>
[quoted text clipped - 23 lines]
>
> Arne Janning
Herfried K. Wagner [MVP] - 17 Oct 2004 20:46 GMT
"steve" <noemail.@try.com> schrieb:
> However when it comes to the progress bar:
> I knoe the property and i have used it, but in this case i do NOT know
> *beforehand* the total number of entries that will be contained in order
> to
> set prgBar.Maximum = maxnumber
> Is there a way around this?
You can use an SQL query ('SELECT COUNT(*) FROM Foo'), where 'Foo' is the
name of your table, in order to get the number of rows in the table.

Signature
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/
Arne Janning - 17 Oct 2004 20:55 GMT
Hi Steve!
> However when it comes to the progress bar:
> I knoe the property and i have used it, but in this case i do NOT know
> *beforehand* the total number of entries that will be contained in order
> to
> set prgBar.Maximum = maxnumber
> Is there a way around this?
If you absolutely don't know what your maximum number will be then you can
use a progress-bar in marquee-mode:
http://dotnet.mvps.org/dotnet/faqs/?id=marqueeprogressbar
Cheers
Arne Janning
Cor Ligthert - 18 Oct 2004 09:19 GMT
Steve,
Setting the cursor as you do is one of the best things you can do, you can
as well make (as well) a splash screen or even one with an avi on it.
However you cannot use with a fill dataset the progressbar. As Herfried
showed you, can you find how many records it are, however not the progress
For a progressbar you needs 3 things, the start, the steps and the end.
You have only 2 of them.
(It can be done while updating because there is an event row by row).
I hope this helps?
Cor
"steve" <noemail.@try.com>
..
> Thanx for the fast respons !!!
>
[quoted text clipped - 37 lines]
>>
>> Arne Janning