Microsoft Knowledge Base Email Alertz

KBAlertz.com: How to make a custom toolbar available to all users in Project Professional 2003 or in Project Professional 2002

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 913678 - Last Review: March 14, 2006 - Revision: 1.5

How to make a custom toolbar available to all users in Project Professional 2003 or in Project Professional 2002

On This Page

INTRODUCTION

This article describes how to create a custom toolbar that contains buttons to run macros. Additionally, this article describes how to deploy the custom toolbar to an enterprise global template (Global.mpt) file. Therefore, the custom toolbar will be available to all users of Microsoft Office Project Professional 2003 or Microsoft Project Professional 2002 when the users connect to Microsoft Office Project Server 2003 or to Microsoft Project Server 2002.

MORE INFORMATION

Note The following information refers to Project Server 2003 and to Project Professional 2003. However, this information also applies to Project Server 2002 and to Project Professional 2002.

When an enterprise project is opened from Project Server 2003, the enterprise global template settings are applied to the project. These settings include default views, toolbars, or tables. After the enterprise global template is applied to the project, any items in the local global file that do not have the same names as the items in the enterprise global template are also applied to the project file. Therefore, if you created a custom view, table, or filter that has the same name as an item in the enterprise global template, you are prompted to rename or overwrite the custom item.

Typically, the enterprise global template takes precedence over other templates. However, the precedence of toolbars and menus is treated differently from other items in the enterprise global template. Toolbars and menus in the local global file take precedence over toolbars and menus that have the same name in the enterprise global template. Additionally, different language versions of toolbars and menus in the local global file take precedence over toolbars and menu items in the enterprise global template.

However, a custom toolbar that has a unique name in the enterprise global template file in Project Server 2003 will be available to all users of Project Professional 2003. To include a custom toolbar that has a command button to run a macro in your enterprise global template file, follow these steps.

Step 1: Create the macro

Note The macro must not be a file-specific macro.
  1. Start Project Professional 2003.
  2. Start a new project. Name the project Project1.
  3. On the Tools menu, point to Macros, and then click Record New Macro.
  4. In the Macro name box, type a name. For example, type Macro1.
  5. In the Store Macro in list, click This Project.
  6. Click the other appropriate options, and then click OK.

Step 2: Copy the module that includes the macro to the enterprise global template

  1. On the Tools menu, point to Enterprise options, and then click Open Enterprise Global.
  2. In the Checked-out Enterprise Global project, click Organizer on the Tools menu.
  3. Click the Modules tab.
  4. On the left, in the Modules available in list, click Project1.
  5. On the right, in the Modules available in list, click Checked-out Enterprise Global. In the left pane, click the available module entry. For example, click Module1.
  6. Between the panes, click Copy, and then click Close.
  7. Save the enterprise global template.
  8. Exit Project Professional 2003.

Step 3: Create a custom toolbar

  1. Start Project Professional 2003.
  2. Open Project1.
  3. On the Tools menu, point to Customize, and then click Toolbars.
  4. On the Toolbars tab, click New, and then type a name in the Toolbar name box. For example, type CustToolbar1, and then click OK.
  5. Click the Commands tab.
  6. In the Categories list, click All Macros.
  7. Drag the Macro1 command from the Commands list to the toolbar.
  8. Click the newly added macro button on the toolbar.
  9. In the Customize dialog box, click Modify Selection.
  10. Click Edit button image or Change button image, and then make the necessary changes.
  11. Click Close.
  12. Open the enterprise global template.
  13. With the newly added button selected, click Modify Selection, and then click Assign Macro.
  14. Make sure that the macro that you created appears in the Command box. This macro must not be a file-specific macro.
  15. Click Close.
  16. Exit Project Professional 2003.

Step 4: Copy the custom toolbar to the enterprise global template

  1. Start Project Professional 2003.
  2. Open the enterprise global template.
  3. On the Tools menu, click Organizer.
  4. Click the Toolbars tab.
  5. On the left, in the Toolbars available in list, click Global (+ cached Enterprise).
  6. On the right, in the Toolbars available in list, click Checked-out Global Enterprise.
  7. In the left pane, click the CustToolbar1 toolbar entry. Between the panes, click Copy.
  8. Close the Organizer.
  9. Save and then close the enterprise global template.
  10. Exit Project Professional 2003.

APPLIES TO
  • Microsoft Office Project Server 2003
  • Microsoft Office Project Professional 2003
  • Microsoft Project Server 2002
  • Microsoft Project 2002 Professional Edition
Keywords: 
kbhowto KB913678
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Anonymous User Report As Irrelevant  
Written: 3/8/2006 3:04 PM
When you follow these steps it leads to some weird behaviour, that the drawing toolbar is always visible and sometimes the format- or other toolbars appear twice in the toolbar menu.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please