not add domain!
Project Guide in Project 2010 - Integent
Call Us Today! 1.800.895.3254
sales@integent.com
Consulting & Advisory
Consulting / Advisory helps business and IT leaders make better decisions and turn strategy into execution-ready initiatives. Most engagements start with a Discovery Initiative to confirm outcomes, and build a roadmap.

Learn About Consulting
Data & AI
Data & AI delivers modern data platforms, analytics, and practical AI solutions—from assistants to agents—built on enterprise cloud tools. Integent helps you govern, deploy, and drive adoption so solutions stick and scale across your organization.
Learn About Data & AI
Support
Support keeps your solution stable, secure, and aligned with day-to-day operations. We combine functional and technical expertise with proactive monitoring, preventive maintenance, and 24/7 coverage for critical incidents.

Learn About Support
Microsoft Planner Premium
Leverage proven knowledge and experience to design and deploy Microsoft Planner Premium so your organization can manage projects, work, and resources more effectively across teams.
Learn More About Planner Premium
OnePlan
Integent can help you ensure continuity beyond Project Online by deploying OnePlan in the Microsoft Cloud—connecting portfolio governance, resources, and delivery execution for results.
Learn More About OnePlan
Microsoft Dynamics 365
Ensure business continuity with a custom cloud solution that connects your sales, service, finance, and operations teams to deliver measurable, predictable results.

Learn More About Dynamics 365
Microsoft Power Platform
Consisting of Power BI, Power Apps, Power Automate and Copilot Studio, the Microsoft Power Platform helps streamline and improve business functions.

Learn More About Power Platform
About Integent
Integent was founded in 2009 on the principles of building long-lasting relationships with customers, exceeding expectations, and providing outstanding customer service. 

We’re dedicated to providing a customized solution backed by our knowledgeable team of Microsoft experts.
Discover What Makes Us Different
News
Stay informed on Integent’s latest company updates and other important industry information. Our passion is customer success.
Read The Latest News
Videos
Learning new software doesn’t have to be difficult with our library of dozens of free training videos. Our video training always has something new.
Browse Our Training Video Library
Blog
Our industry experts share best practices and common pitfalls to avoid, in order to get the most out of your technology solutions.
Discover More

November 16, 2010

Project Guide in Project 2010

Thanks to Chris Boyd for starting the thread and writing the code to display the Project Guide (that was contained in Project 2007).

His code can be found below.  Thank you Chris – very helpful for those on Project 2010.

The full link is:  http://blogs.msdn.com/b/project_programmability/archive/2010/04/30/getting-the-project-guided-to-show-up-in-project-2010.aspx 

The first step is to write a method that turns the guide on and off. To do this, we need to have a guide, so I am going to use the one that we shipped in Project 2007.  However, the default Project Guide files need some changes:

The folder structure should be flattened. All Project Guide files unzip to a subfolder named DefaultProjectGuideFiles.

The gbui:// protocol is removed. The custom "goal-based user interface" protocol and Project Guide resources are not installed with Microsoft Project 2010. For example, the following line in MainPage.htm:
       <script src="gbui://mainpage.js" language="JScript"></script>

   ... is changed to:
       <script src=mainpage.js" language="JScript"></script>

You can find the modified Project Guide files in the Project 2010 SDK download:

http://www.microsoft.com/downloads/details.aspx?FamilyID=46007f25-b44e-4aa6-80ff-9c0e75835ad9&displaylang=en

Once you have the guide downloaded and extracted into a directory, for example, C:PGDefaultProjectGuideFiles, you need to author the following method in VBA:

Sub Guide()

    If (Application.DisplayProjectGuide = False) Then
        OptionsInterfaceEx DisplayProjectGuide:=True, _ 
               ProjectGuideUseDefaultFunctionalLayoutPage:=False, _ 
               ProjectGuideUseDefaultContent:=False, _ 
               ProjectGuideContent:="C:PGDefaultProjectGuideFilesGBUI.XML", _ 
               ProjectGuideFunctionalLayoutPage:="C:PGDefaultProjectGuideFilesMAINPAGE.htm"
    Else
        OptionsInterfaceEx DisplayProjectGuide:=False
    End If

End Sub

Update the ProjectGuideContent and ProjectGuideFunctionalLayoutPage to point your Project Guide content.

The next step is to create a button in the ribbon

Here is the code to do this:

Private Sub AddGuideRibbonButton()

    Dim ribbonXML As String
    
    
    ribbonXML = "<mso:customUI xmlns:mso=""http://schemas.microsoft.com/office/2009/07/customui"">"
    ribbonXML = ribbonXML + "   <mso:ribbon>"
    ribbonXML = ribbonXML + "   <mso:qat/>"
    ribbonXML = ribbonXML + "       <mso:tabs>"
    ribbonXML = ribbonXML + "           <mso:tab idQ=""mso:TabView"">"
    ribbonXML = ribbonXML + "               <mso:group id=""Project_Guide"" label=""Project Guide"" autoScale=""true"">"
    ribbonXML = ribbonXML + "                   <mso:button id=""Project_Guide_Btn"" label=""Guide"" imageMso=""CategoryCollapse"" onAction=""Guide""/>"
    ribbonXML = ribbonXML + "               </mso:group>"
    ribbonXML = ribbonXML + "           </mso:tab>"
    ribbonXML = ribbonXML + "       </mso:tabs>"
    ribbonXML = ribbonXML + "   </mso:ribbon>"
    ribbonXML = ribbonXML + "</mso:customUI>"
   
    ActiveProject.SetCustomUI (ribbonXML)
    
End Sub

The last step is to hook up loading the button to an event. For this example, I am doing on the Project Open event, however, you may want to choose a different event based on your scenario.

Private Sub Project_Open(ByVal pj As Project)

    AddGuideRibbonButton

End Sub

At this point

Again many thanks to Chris.

© Copyright 2026 | Integent.com | All Rights Reserved
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram