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