Connecting Tech Pros Worldwide Help | Site Map

progress bar

=?Utf-8?B?bWFydGluMQ==?=
Guest
 
Posts: n/a
#1: Feb 11 '08
All,

I try to use progress bar to show how much % done for my app run, can anyone
tell how to make code work?

Thanks,
Martin
rowe_newsgroups
Guest
 
Posts: n/a
#2: Feb 11 '08

re: progress bar


On Feb 11, 10:36 am, martin1 <mart...@discussions.microsoft.com>
wrote:
Quote:
All,
>
I try to use progress bar to show how much % done for my app run, can anyone
tell how to make code work?
>
Thanks,
Martin
There is a progress bar control, the problem is you must be able to
determine when a step is complete so you can update the progress bar
with the current percentage. I don't know of any "magic" control that
can automatically track a process's completion.

Thanks,

Seth Rowe [MVP]
Cor Ligthert[MVP]
Guest
 
Posts: n/a
#3: Feb 11 '08

re: progress bar


Kimi,

You should always know the steps that can be taken.

For a progress bar you need:
The beginpoint
The steps
The endpoint

Whatever it is.

As soon as you don't know that you can better use an AVI or an Animated Gif
as you see often in Windows OS instead of some pseudo information (from
which I have often the idea that I am looking at in Vista)..

Just my idea.

Cor

kimiraikkonen
Guest
 
Posts: n/a
#4: Feb 11 '08

re: progress bar


On Feb 11, 7:51 pm, "Cor Ligthert[MVP]" <notmyfirstn...@planet.nl>
wrote:
Quote:
Kimi,
>
You should always know the steps that can be taken.
>
For a progress bar you need:
The beginpoint
The steps
The endpoint
>
Whatever it is.
>
As soon as you don't know that you can better use an AVI or an Animated Gif
as you see often in Windows OS instead of some pseudo information (from
which I have often the idea that I am looking at in Vista)..
>
Just my idea.
>
Cor
Cor,
Unfortunately the problem is not to know the exact end/begin points.
However in some cases you can move progress bar indicator forward, an
example i've found using for-next loop:

Dim i As Integer
For i = 0 To UBound(RandArray)
RandArray(i) = Int(Rnd() * 1000000)
TextBox1.Text = TextBox1.Text & RandArray(i) & vbCrLf
ProgressBar1.Value = i
Next i

which fills the array with random numbers and displays them in a
textbox by the time progress bar is moved forward till all the array
is filled.

More samples are welcome with progress bar :-)
=?Utf-8?B?bWFydGluMQ==?=
Guest
 
Posts: n/a
#5: Feb 11 '08

re: progress bar


can you give an example of Animated Gif? Thnaks,
Martin

"Cor Ligthert[MVP]" wrote:
Quote:
Kimi,
>
You should always know the steps that can be taken.
>
For a progress bar you need:
The beginpoint
The steps
The endpoint
>
Whatever it is.
>
As soon as you don't know that you can better use an AVI or an Animated Gif
as you see often in Windows OS instead of some pseudo information (from
which I have often the idea that I am looking at in Vista)..
>
Just my idea.
>
Cor
>
>
Cor Ligthert[MVP]
Guest
 
Posts: n/a
#6: Feb 12 '08

re: progress bar


As you have Visual Studio, then there are some in the SDK, I have to search
for that, something that you can do yourself as well in my idea.

Cor

Patrice
Guest
 
Posts: n/a
#7: Feb 12 '08

re: progress bar


You could also use the "marquee" display style that animate the progress bar
in loops just to show that something is going on...

--
Patrice

"martin1" <martin1@discussions.microsoft.coma écrit dans le message de
news: 373E5FAA-8C37-4F8E-80B2-5C2E6F77C716@microsoft.com...
Quote:
can you give an example of Animated Gif? Thnaks,
Martin
>
"Cor Ligthert[MVP]" wrote:
>
Quote:
>Kimi,
>>
>You should always know the steps that can be taken.
>>
>For a progress bar you need:
>The beginpoint
>The steps
>The endpoint
>>
>Whatever it is.
>>
>As soon as you don't know that you can better use an AVI or an Animated
>Gif
>as you see often in Windows OS instead of some pseudo information (from
>which I have often the idea that I am looking at in Vista)..
>>
>Just my idea.
>>
>Cor
>>
>>

kimiraikkonen
Guest
 
Posts: n/a
#8: Feb 12 '08

re: progress bar


On Feb 12, 10:37 am, "Patrice" <http://www.chez.com/scribe/wrote:
Quote:
You could also use the "marquee" display style that animate the progress bar
in loops just to show that something is going on...
>
--
Patrice
>
"martin1" <mart...@discussions.microsoft.coma écrit dans le message denews: 373E5FAA-8C37-4F8E-80B2-5C2E6F77C__BEGIN_MASK_n#9g02mG7!__...__END_MASK_i? a63jfAD$z__@microsoft.com...
>
Quote:
can you give an example of Animated Gif? Thnaks,
Martin
>
Quote:
"Cor Ligthert[MVP]" wrote:
>
Quote:
Quote:
Kimi,
>
Quote:
Quote:
You should always know the steps that can be taken.
>
Quote:
Quote:
For a progress bar you need:
The beginpoint
The steps
The endpoint
>
Quote:
Quote:
Whatever it is.
>
Quote:
Quote:
As soon as you don't know that you can better use an AVI or an Animated
Gif
as you see often in Windows OS instead of some pseudo information (from
which I have often the idea that I am looking at in Vista)..
>
Quote:
Quote:
Just my idea.
>
Quote:
Quote:
Cor
Marquee type just an animation if OP requires that type of indicator.
Closed Thread