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

After closing project guide, i am unable to open it back

$
0
0

After closing the project guide (X-image buton), I am unable to open i back in MSPOJECT2010.

Below is the Code fired when my button is clicked.

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



Viewing all articles
Browse latest Browse all 5347

Trending Articles



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