如何在项目中添加Microsoft.Office.Interop.Word dll [英] How to add Microsoft.Office.Interop.Word dll in project

查看:551
本文介绍了如何在项目中添加Microsoft.Office.Interop.Word dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将对Microsoft.Office.Interop.Word.dll的引用添加到我的asp.net项目中.

How to add reference of Microsoft.Office.Interop.Word.dll to my asp.net project

推荐答案

如果您使用的是Visual Studio,请选择在解决方案资源管理器中,使用上下文菜单对项目节点及其子节点参考"进行选择,选择添加参考",然后进入参考窗口.您将在".NET"选项卡下找到所需的引用.

如果您对程序集的引用感到困惑,那么您几乎不知道如何进行.NET开发.很快就会来.

因此,我建议您暂时搁置APS.NET(和Office互操作性),并学习.NET开发的最基本的基础知识:程序集,进程,类和实例,方法,字段和属性,委托和事件,线程和完整课程您使用的语言.当您有足够的信心时,请回到ASP.NET,否则您将在每个步骤中都受阻.在控制台应用程序开发中进行简单的练习.

—SA
If you''re using Visual Studio, select Solution Explorer, you project node and its child node "References", using context menu, choose "Add reference" and proceed to the references window. You will find the reference you need under the tab ".NET".

If you''re confused about referencing of assemblies, you have almost no idea on how to do .NET development — just yet, of course; it will come soon.

Therefore, I suggest you set aside APS.NET (and Office interoperation) for a while and learn most elementary basics of .NET development: assemblies, processes, classes and instances, methods, fields and properties, delegates and events, threads and full course of the language you use. when you feel quite confident, come back to ASP.NET, otherwise you will get blocked on every step. Do simple exercises in console application development.

—SA


您可以在此处获得答案.

通过主要互操作程序集定位Office应用程序 [ ^ ]

有关其他参考库名称的名称,请访问:

Office主互操作程序集 [
You can get your answer here.

Target Office Applications Through Primary Interop Assemblies[^]

For the names of different reference library name visit :

Office Primary Interop Assemblies[^]

Thanks


选中它 [

这篇关于如何在项目中添加Microsoft.Office.Interop.Word dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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