The Microsoft Project Progress Bar

E

Evan S. Dictor

I tried asking this before, but I didn't word it well and the conversation
went awry, so I'll try again :)

If you load a large project in MSP2003, and you Level Resources (or some
other time consuming process), you'll see a progress bar appear in the lower
left corner of MSP on the status bar. I would like to USE this Progress Bar
for my own time consuming processes if possible.

Does anyone know of a way I could cause this Progress Bar to appear and
maintain it's percentage through the object model (or any other way - as
long as it's Project's Progress Bar.

Thanks in advance,
Evan
 
J

John

Evan,
I used a progress bar on one of my userforms but found that updating it
took too much processing time (my emulated PC is rather slow). The
progress bar was not on the Project status line so it isn't exactly what
you are looking for but you might want to look into it. In order to use
it I also had to set a reference to Microsoft Windows Common Controls
6.0 and I had to add the ProgressBar icon to the userform tool group.

There is also a ProgressBar Class in the MSComctlLib. I tried to find
out more info from the VBA help file associated with this library but
all I drew was a blank help page. Perhaps I don't have that help file
loaded. Maybe you can find out more by looking in that library.

This probably isn't much help, but at least it's a place to start.

John
 
J

John

Evan,
I checked the webpage for orielly. Just reading the description of the
books sound like they should have information on showing progress bars.

For my macros that don't have a userform I use a fairly simple method
for showing status. I use the Caption property to display progress in
the header. It works pretty well but it took me awhile to sort out which
window to use and to return the original caption when the macro
finishes. If you want more info on this method let me know.

John
 
E

Evan S. Dictor

Thanks very much John. I should be ok using a separate form - I just didn't
want to break from the standard "UI" to do that. The ProgressBar control
should work nicely for me.

Evan
 
E

Evan S. Dictor

I wasn't trying to be a jerk there. I was just saying that if I had to use
the ProgressBar control I had the situation in-hand.

Evan
 
J

JackD

You didn't come off as being a jerk.

-Jack


Evan S. Dictor said:
I wasn't trying to be a jerk there. I was just saying that if I had to use
the ProgressBar control I had the situation in-hand.

Evan
 
J

John

Evan,
Jerk? I get I missed something. No jerk from my viewpoint. By the way,
isn't a jerk the derivative of acceleration, or is that impulse?

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top