Vb.net Word Integration Office 2016 [英] Vb.net word integration office 2016

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

问题描述



我有一个与Word连接的应用程序.现在我们要迁移到Office 2016,此应用将不再起作用.

以前我用过interop.word.dll
现在应该是(如果Google是正确的)microsoft.office.tools.word.dll.

工作方式也不同.

只是更改了打开和保存Word文档的简单功能.

对Office 2016集成有经验吗?

提前谢谢.

Boobobob

我尝试过的事情:

我一直在Google上寻找解决方案.
我发现的唯一东西是:

Hi,

I have a applicatie which connects with Word. Now we are migrating to office 2016 and will this app no longer work.

Previous I used the interop.word.dll
Now it should be (if google is correct) microsoft.office.tools.word.dll.

The way of working is also different.

Just simple functions as opening and saving word documents are changed.

Someone experience with Office 2016 integration?

Thanks in advance.

Boobobob

What I have tried:

I''ve been searching on google for solutions.
The only thing I found is:

Dim objDoc As Microsoft.Office.Tools.Word.Document
But I'm even missing the Word.Application

推荐答案

当今时代不应该使用Office Interop.微软甚至不支持它的使用.我建议您看一下可以使用的OpenXML SDK,或者如果您能够使用商业产品,则可以使用Aspose套件之类的东西.
Office Interop should not be used in this day and age. Microsoft does not even support it''s use. What I would recommend is looking at the OpenXML SDK for working with or if you are able to use a commercial product something like the Aspose suite will work.


这篇关于Vb.net Word Integration Office 2016的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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