Office 2007 compatibility

In order to run this tool in an environment with Microsoft Office Word 2007 installed you have to make changes in TestPlanWordWriter.UI.csproj file. To do this you could select Unload Project option.

image_thumb1

Then, select Edit TestPlanWordWriter.UI.csproj

image_thumb3

Then, find and modify ProjectProperties tag value according following instructions:

Original value (Word 2010)
<ProjectProperties HostName="Word" HostPackage="{20A848B8-E01F-4801-962E-25DB0FF57389}" OfficeVersion="14.0" VstxVersion="4.0" ApplicationType="Word" Language="cs" TemplatesPath="" DebugInfoExeName="#Software\Microsoft\Office\14.0\Word\InstallRoot\Path#WINWORD.EXE" DebugInfoCommandLine="/w" AddItemTemplatesGuid="{51063C3A-E220-4D12-8922-BDA915ACD783}" />


New value (Word 2007)
<ProjectProperties HostName="Word" HostPackage="{20A848B8-E01F-4801-962E-25DB0FF57389}" OfficeVersion="12.0" VstxVersion="4.0" ApplicationType="Word" Language="cs" TemplatesPath="" DebugInfoExeName="#Software\Microsoft\Office\12.0\Word\InstallRoot\Path#WINWORD.EXE" DebugInfoCommandLine="/w" AddItemTemplatesGuid="{51063C3A-E220-4D12-8922-BDA915ACD783}" />


Finally, select Reload Project and you have your project ready to be run in Microsoft Office Word 2007

image_thumb4

Last edited Mar 28, 2011 at 9:38 AM by luisj, version 4

Comments

No comments yet.