D
dotnet-force
Hi
I'm developping a addin for MS Project 2002 in C#.
When I click on my button, I want to display with some code a specific
page in the left side pane of MS Project.
For example, I want to display the 'Define the Project' html page.
So I checked in the GuideSchema.xml file the GoalAreaID for the Tasks
which is 1, and the TaskID for the page that I want to display which is
1 too.
But the MS Project 2002, I didn't find some API to change the HTML page.
I'm able to change the highlight in the Project Guide toolbar to the
'Tasks' button with Application.GoalAreaHighlight(1) method, but the
html doesn't change. And then I don't know how to select the 'Define the
Project' page.
I would like something like :
Application.SetGoalArea(1); // argument is the <GoalAreaID>
Application.SetGoalAreaTask(1); // argument is the <TaskID>
If you have some ideas, you are welcome.
Here is a part of the default GuideSchema.xml file :
<GoalArea>
<GoalAreaID> 1 </GoalAreaID>
<GoalAreaName> Tasks </GoalAreaName>
<GoalAreaDescription>Plan and schedule your project's tasks by
clicking an item below. Clicking an item displays tools and instructions
for completing that step.</GoalAreaDescription>
<URL> gbui://tasks_main.htm </URL>
<RelevantViews>
<ViewType> 0 </ViewType>
</RelevantViews>
<GoalAreaTask>
<TaskID> 1 </TaskID>
<Title> Define the Project </Title>
<TaskName> Define the project </TaskName>
<URL> gbui://define_project.htm </URL>
<RelevantViews>
<ViewType> -1 </ViewType>
</RelevantViews>
</GoalAreaTask>
Pascal Lenormand
ILOG
I'm developping a addin for MS Project 2002 in C#.
When I click on my button, I want to display with some code a specific
page in the left side pane of MS Project.
For example, I want to display the 'Define the Project' html page.
So I checked in the GuideSchema.xml file the GoalAreaID for the Tasks
which is 1, and the TaskID for the page that I want to display which is
1 too.
But the MS Project 2002, I didn't find some API to change the HTML page.
I'm able to change the highlight in the Project Guide toolbar to the
'Tasks' button with Application.GoalAreaHighlight(1) method, but the
html doesn't change. And then I don't know how to select the 'Define the
Project' page.
I would like something like :
Application.SetGoalArea(1); // argument is the <GoalAreaID>
Application.SetGoalAreaTask(1); // argument is the <TaskID>
If you have some ideas, you are welcome.
Here is a part of the default GuideSchema.xml file :
<GoalArea>
<GoalAreaID> 1 </GoalAreaID>
<GoalAreaName> Tasks </GoalAreaName>
<GoalAreaDescription>Plan and schedule your project's tasks by
clicking an item below. Clicking an item displays tools and instructions
for completing that step.</GoalAreaDescription>
<URL> gbui://tasks_main.htm </URL>
<RelevantViews>
<ViewType> 0 </ViewType>
</RelevantViews>
<GoalAreaTask>
<TaskID> 1 </TaskID>
<Title> Define the Project </Title>
<TaskName> Define the project </TaskName>
<URL> gbui://define_project.htm </URL>
<RelevantViews>
<ViewType> -1 </ViewType>
</RelevantViews>
</GoalAreaTask>
Pascal Lenormand
ILOG