Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

After clicking Close image button on Project Guide unable to reopen project guide again.

$
0
0

After closing the project guide (X-image button), I am unable to open it back in MSPROJECT2010.

Below is the Code fired when my button is clicked to open the Project Guide

Any help is appreciated!!

Public Sub LaunchEAMInterface(ByVal control As IRibbonControl)
        Try
            If applicationObject.ActiveProject Is Nothing Then
                applicationObject.Projects.Add()
            End If

            'guide has not been initialized.  Initialize then hide.
            applicationObject.OptionsInterfaceEx(DisplayProjectGuide:=True)
            applicationObject.ActiveProject.ProjectGuideContent = InstallPath("ProjectGuide\GBUI.XML")
            applicationObject.ActiveProject.ProjectGuideFunctionalLayoutPage = InstallPath("ProjectGuide\MAINPAGE.htm")
            applicationObject.ActiveProject.ProjectGuideUseDefaultContent = False
            applicationObject.ActiveProject.ProjectGuideUseDefaultFunctionalLayoutPage = False

            applicationObject.OptionsInterfaceEx(DisplayProjectGuide:=False)

            ' reload resources for each document (locale or properties files may have changed)
            If (applicationObject.OptionsInterfaceEx(DisplayProjectGuide:=False)) Then

              
                applicationObject.ActiveProject.ProjectGuideUseDefaultContent = False
                ForceResources()
                applicationObject.ActiveProject.ProjectGuideContent = ForceDSTM7iXMLFile()

                Me.setupDSTMCustomFields()
                applicationObject.DisplayProjectGuide = True

             
            Else
                'Turn guide off
                applicationObject.DisplayProjectGuide = False
            End If
          
        Catch ex As Exception
            ReportError(ex)
        End Try

    End Sub


Vikram kumar Siripurapu


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>