MS Office PIA具有“向后兼容性". [英] MS Office PIAs "backward compatibility"

查看:106
本文介绍了MS Office PIA具有“向后兼容性".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功完成了与MS Word集成的Windows Forms应用程序-该应用程序将写入Word模板中的mergefields.我使用MS Word 2007进行了模板制作,但以兼容模式将其保存为97-2003".dot"文件.由于安装了Office 2007,因此我使用的是MS Word对象库PIA的12.0版本.如果我要部署此应用程序,那么使用Office XP或2003的其他人是否可以使用它,因此我要询问兼容性吗?

I've successfully completed a Windows Forms application with MS Word integration - the application writes to mergefields in a Word Template. I did the template using MS Word 2007, but saved it in compatible mode as a 97-2003 '.dot' file. Due to the fact that I have Office 2007 installed, I'm using version 12.0 of the MS Word Object Library PIA. If I were to deploy this application, would another person using Office XP or 2003 be able to use it, hence my asking about compatibility?

我已将PIA DLL复制到应用程序的输出目录.

I have copied the PIA DLLs to the output directory of the application.

推荐答案

您可以使用使用较旧的PIA编译的应用程序来自动执行Word 2007,但是不能使用使用Office 2007的PIA编译的应用程序来自动执行Word的早期版本.

You can use apps compiled with older PIAs to automate Word 2007, but you cannot use apps compiled with the Office 2007 PIAs to automate earlier versions of Word.

某些事情可能会起作用,但是通常不支持.

Some things may work, but in general it is not supported.

问题是,Word的较新版本具有新功能,而较新的PIA支持这些新功能.您可以轻松构建一个利用更新的PIA中的新功能的应用程序.当您针对较旧版本的Word运行该应用时-谁知道会发生什么.

The issue is, the newer versions of Word have new features, and the newer PIAs support those new features. You can easily build an app that exploits the new features in the newer PIAs. When you run that app against an older version of Word - who knows what wll happen.

您不仅需要担心新的外部"功能. PIA中可能有新的实现,这些新实现仅与Office应用程序的较新版本兼容.

It isn't only new "external" features you need to worry about. There could be new implementations in the PIAs that are compatible only with the newer versions of the Office apps.

因此,您建议做的事并不安全,也不建议这样做.

So, what you are proposing to do is not safe, and not recommended.

您可以下载其他版本的PIA .

这篇关于MS Office PIA具有“向后兼容性".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆