参考文献中的对象库

编程入门 行业动态 更新时间:2024-10-27 20:37:49
本文介绍了参考文献中的对象库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 我正在编写使用Vb.NET WinForms操作Excel的代码。我在COM选项卡中添加了引用。参考名称是Microsoft Excel 14.0对象库。 我只安装Office 2010.但是当我在计算机上运行程序时可以使用此引用哪个安装Ms Office 2003? 如果没有,有人可以给我一个链接来解决这个问题吗?这意味着,兼容Excel 2003或* .xls文件的引用。我应该下载引用或what..tq

解决方案

不,更好地使用Office互操作程序集。当您安装Office或其应用程序时,它们会安装在GAC中,因此只需使用添加引用窗口的.NET选项卡。
- SA

Hi all, I''m currently writing code to operate Excel using Vb.NET WinForms. I adding the reference in COM tab. The reference name is Microsoft Excel 14.0 Object Library. I''m installing only Ms Office 2010. But can this reference can be use when I run the program in computer which installing Ms Office 2003? If not, could someone give me a link to overcome this? Which mean, a reference which compatible for Excel 2003 also or *.xls file. Should I download the reference or what..tq

解决方案

No, better use the Office interop assemblies. They are installed in GAC when you install Offices or its application, so just use the ".NET" tab of the "Add Reference" window.
—SA

更多推荐

参考文献中的对象库

本文发布于:2023-10-09 10:40:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1475515.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:参考文献   对象

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!