I am trying to add a custom task pane to Word 2003. I am using VSTO 2005 SE and C# (vs2005) . However the code from the walkthroughs supplied by various sites from Microsoft give me the same error on the same piece of code.
private Microsoft.Office.Tools.CustomTaskPane myCustomTaskPane;
and in the ThisAddIn_Startup event I have
myUserControl1 = new MyUserControl();
myCustomTaskPane = this.CustomTaskPanes.Add(myUserControl1, "My Task Pane");
myCustomTaskPane.Visible = true;
However I get the error:
"The type or namespace name 'CustomTaskPane' does not exist in the namespace 'Microsoft.Office.Tools' (are you missing an assembly reference?)"
I created a word 2003 add-in project- so it should add the references automatically am I correct?
CustomTaskPanes is not available in the Microsoft.Office.Tools namespace it seems...
I hope someone can walk me though this getting a custom action pane in word 2003 in c#.
Thank you very much