ProgressBar help needed

  • Thread starter Thread starter Dave Harris
  • Start date Start date
D

Dave Harris

Ok...here's another problem that VB.NET probably does not support but
hopefully there may be a workaround. I have a form with a "continue
processing" button. When the button is pressed it creates a new instance of
a class called "RC". This RC class does not have a form, it just does a few
things. Once RC is finished it loads the next form in the project. When RC
runs, it takes a while to complete, a time that nothing happens on the
screen. I would like to put a progress bar on the first form and have it
work while the RC class executes. I have not been able to figure a way to do
this. Any ideas? Thanks in advance!

Dave Harris
 
* "Dave Harris said:
things. Once RC is finished it loads the next form in the project. When RC
runs, it takes a while to complete, a time that nothing happens on the
screen. I would like to put a progress bar on the first form and have it
work while the RC class executes. I have not been able to figure a way to do
this. Any ideas?

Maybe a Windows XP Marquee ProgressBar?

<http://groups.google.de/[email protected]>
 
Hi Dave,

A progresbar need that you know what is the lenght of a process, sometimes a
rolling counter made with the timer is enough or something else to show that
the program is running. (Not a gif because then if your program hangs the
user does not see it)

Just my thought,

Cor
 
Hi Dave,

The basic problem with progress bars is that you have to have a mechanism to
increment it. For example, if you are loading a table, there is a way to
know the full size of the table and to increment the pbar for each row group
loaded - say, increment once for each 326 rows since I know that there are
9780 rows in all, thus increment 30 times.

Do you have a means of doing this inside RC? If you do, I can probably help
you.

HTH,

Bernie
 
Back
Top