使用的Microsoft.Office.Interop.Word总成 [英] Using Microsoft.Office.Interop.Word assembly

查看:340
本文介绍了使用的Microsoft.Office.Interop.Word总成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须做在C#中的word文档编程。有没有什么办法来访问的Microsoft.Office.Interop.Word组件,而无需安装Microsoft Word中?我试图安装Office主互操作程序集,但它要求我安装Microsoft Office软件包第一。

I have to do a word document programming in c#. Is there any way to access Microsoft.Office.Interop.Word assembly without installing Microsoft word? I tried to install Office Primary Interop Assemblies But it ask me install Microsoft Office package first.

推荐答案

你有没有尝试过的PIA可再发行的任何Office版本你想工作?

Have you tried the PIA Redistributable for whatever version of Office you are trying to work on?

在Office 2010的PIA可再发行组件,例如,不列出作为办公室的要求(当然,可能会在系统要求的节是错误的)。

The Office 2010 PIA redistributable, for example, does not list Office as a requirement (but of course that could be an error in the System Requirements section).

<一个href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=938fe8ad-583b-4bd7-a345-23250dc15855#SystemRequirements" rel="nofollow">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=938fe8ad-583b-4bd7-a345-23250dc15855#SystemRequirements

这篇关于使用的Microsoft.Office.Interop.Word总成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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