Problems with revise in Word

  • Dominik Sigmund

    Dominik Sigmund - 2011-03-02


    i have a problem with the revise in Word function:
    Word does open and loads the text of the page.
    But when i try to close Word it stops working…

    Please help!

  • CodeDriller

    CodeDriller - 2011-03-12

    Can't reproduce that. What is your Word version and PIAs version?

  • CodeDriller

    CodeDriller - 2011-03-12

    Beware that ReviseInMSWord() function doesn't save the revised text. After closing Word the revised text is contained in Page.text variable and you must save it with Save() function like that:

    p.Save("comment", false);

    What happens exactly when you close Word application?

  • Anonymous

    Anonymous - 2011-11-10


    I am experiencing the same problem as 'sigmundd' has stated. When I click close word after editing, the process just hangs, with no output to wiki. Word version I am using is 2007 and Microsoft.Office.Interop.Word.dll version 12. Below is the part of the code I am using:
                        wikiSite = new Site(uri, uname, pwd);
                        page = new DotNetWikiBot.Page(wikiSite, "Test");
                        page.Save("Testing wordRevise",false);

    Any help would be appreciated.


  • CodeDriller

    CodeDriller - 2011-11-14

    Sorry, I can't reproduce that. But I heard about many PIAs compatibility issues. I would try other PIA versions (specifically 10 and 11) and check if all COM-related Office components are installed.

  • Jodocus

    Jodocus - 2011-11-17

    I used Microsoft.Office.Interop.Word version 11,12 and 14, but no luck.

    Which COM-related Office components are needed for DotNetWikiBot?  I tried the Microsoft.Office.Core (together with the Interop class), but again no luck.

    Is there anyone with a working solution based on the Microsoft.Office.Interop and .COM components? If so, can you let us know which versions you used?

  • CodeDriller

    CodeDriller - 2011-11-17

    I tested this function in the following environments:

    Windows Server 2003 R2 SP2 x64 Standard Edition
    Microsoft Word 11.0.8169.0
    +Microsoft.Office.Interop.Word.dll 10.0.4504.0

    Windows XP SP3 Professional Edition
    Microsoft Word 12.0.4518.1014
    +Microsoft.Office.Interop.Word.dll 10.0.4504.0
    +Microsoft.Office.Interop.Word.dll 11.0.5530.0
    +Microsoft.Office.Interop.Word.dll 12.0.4518.1014

    Windows Vista Business SP2
    Microsoft Word 10.0.2627.0
    +Microsoft.Office.Interop.Word.dll 10.0.4504.0
    +Microsoft.Office.Interop.Word.dll 11.0.5530.0
    +Microsoft.Office.Interop.Word.dll 12.0.4518.1014

    You can download version 10 of Microsoft.Office.Interop.Word.dll here (reg is here).

    Interop functionality or DotNetWikiBot don't require any additional Office components, just make sure that standard components are intact.


Log in to post a comment.