无法确定COM引用“Microsoft.Office.Interop.Excel”的依赖关系。加载类型库/ DLL时出错。 [英] Could not determine the dependencies of the COM reference "Microsoft.Office.Interop.Excel". Error loading type library/DLL.
本文介绍了无法确定COM引用“Microsoft.Office.Interop.Excel”的依赖关系。加载类型库/ DLL时出错。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hai All,
我正在VS2010中开发一个VB应用程序。在我的应用程序中,我导入Imports excel = Microsoft.Office.Interop.Excel。在错误列表中没有错误,但是当我调试我的代码时,会发生异常......
Hai All,
I am developing one VB application in VS2010. In my application i import "Imports excel = Microsoft.Office.Interop.Excel" . in error list no error is there but when i debug my code an Exception occur like ...
"
Warning 1 Could not determine the dependencies of the COM reference "Microsoft.Office.Interop.Excel". Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
有人请帮帮我.......
i不知道如何纠正这个例外.....
谢谢Adv
"
is anybody help me please .......
i don''t know how to rectify this exception .....
Thanks in Adv
推荐答案
添加引用
组件名称:Microsoft.Office.Interop.Excel
Add reference
Component Name: Microsoft.Office.Interop.Excel
I有一些问题。我弄清楚的是我删除了那些引用并再次添加它们。您应该注意要添加的库版本,如Excel 14.0或15.0
I had the some problem. What I did to figure it out is that I removed that references and added them again. You should give your attention to which version of libraries you are adding like Excel 14.0 or 15.0
这篇关于无法确定COM引用“Microsoft.Office.Interop.Excel”的依赖关系。加载类型库/ DLL时出错。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文