Adding a progress bar in the StatusBar of MSProject

D

dotnet-force

Hi,

I'm developping a MS Project Addin.
I want to display some information in the StatusBar of MSProject
(usually "Ready" is displayed or "Save xxxx" and a progress bar).

As the StatusBar property of the Application object is a string, I'm
able to display some messages. But I have a action which takes long time
and I want to add a progress bar (as the load or save command did) to
show that the action is running.

Can you give some information on how to do that ?

Thanks.
Pascal Lenormand
ILOG
 
W

Wei-Dong Xu [MSFT]

Hi Pascal,

Thank you for posting in MSDN managed newsgroup!

This display in the process bar is not easy to implement. We should use
Win32 api in VBA code to create one process bar. So far as I know, the best
implementaion for the processbar in the statusbar is from David Wiseman. He
built one class for the process bar and one sample for the excel file. You
will learn a lot from it for your own process bar in Project statusbar.
This sample can be obtained from this link:
http://www.j-walk.com/ss/excel/files/developer.htm

The sample is located at "Control the LED Display in the StatusBar" of that
page.

Please feel free to let me know if you have any further questions.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
---------------
This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.
 

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