locked
Word Automation ... RRS feed

  • Question

  • Hi,

    I am creating an application that uses Word Automation to open a Word 2003 Document via _Application.Documents.Open. I need to access the task pane and add a user control to it. Is this possible ? Cheers.

    Monday, February 25, 2008 12:21 PM

Answers

  • Hi LG,

     

    No. You cannot do that.

    Word Object Model does not expose task pane to us for customizing. You can only get the CommandBar named "task pane", but cannot add any controls on it.

    If you are using VSTO, you can create an action pane in document level project. But that action pane will only be available in that customized document, which may not be what you want. However, I am posting the walkthrough out, for your information:

    http://msdn2.microsoft.com/en-us/library/kfzd656e(VS.80).aspx

     

     

    Thanks,

    Ji

    Wednesday, February 27, 2008 9:57 AM