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…
Can't reproduce that. What is your Word version and PIAs version?
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:
What happens exactly when you close Word application?
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");
Any help would be appreciated.
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.
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?
I tested this function in the following environments:
Windows Server 2003 R2 SP2 x64 Standard Edition
Microsoft Word 11.0.8169.0
Windows XP SP3 Professional Edition
Microsoft Word 12.0.4518.1014
Windows Vista Business SP2
Microsoft Word 10.0.2627.0
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.