none
Hosted/embeded Word with addin cannot find bookmarks RRS feed

  • Question

  • My clients have an application that hosts Word 2003 in its gui, I can add a VSTO addin that can typetext into the document but can't find any bookmarks.

    I spent hours trying different approaches without success to search for bookmarks (they work fine in stand alone word)

    On a whim I ran Application.Documents.Count and discovered that it returned 2 documents.

    I have 2 questions.

    1. Is it normal for a GUI that hosts word to show 2 documents open, and how do I select which document to work with in C# code.

    2. Does word 2007 have the same behavior?

    Monday, September 16, 2013 12:01 PM

Answers

All replies

  • Well it seems to work with Office 2007.
    • Marked as answer by Peter Viau Wednesday, September 18, 2013 11:26 AM
    Monday, September 16, 2013 4:05 PM
  • Hi,

    Thank you for posting in the MSDN Forum.

    I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.

    Sorry for any inconvenience and have a nice day!

    Best regards,

    Fei


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Wednesday, September 18, 2013 2:29 AM
    Moderator