The type 'Microsoft.Office.Interop.Excel.ApplicationClass' has no constructors defined
来源:互联网 发布:windows培训机构 编辑:程序博客网 时间:2024/06/06 15:50
The type 'Microsoft.Office.Interop.Excel.ApplicationClass' has no constructors defined
Interop type 'Microsoft.Office.Interop.Excel.ApplicationClass' cannot be embedded. Use the applicable interface instead.
---Solution---
Disable embedding of Interop types for this assembly (References -> Microsoft.Office.Interop.Outlook (right click) -> Properties -> Set 'Embed Interop Types' to False)
More info on the why can be found here: http://blogs.msdn.com/b/mshneer/archive/2009/12/07/interop-type-xxx-cannot-be-embedded-use-the-applicable-interface-instead.aspx
0 0
- The type 'Microsoft.Office.Interop.Excel.ApplicationClass' has no constructors defined
- 'Microsoft.Office.Interop.Excel.ApplicationClass' has no constructors defined
- Interop type 'Microsoft.Office.Interop.Excel.ApplicationClass' cannot be embedded. Use th e applic
- Interop type 'Microsoft.Office.Interop.Outlook.ApplicationClass' cannot be embedded. Use the applica
- Interop type 'Microsoft.Office.Interop.Word.ApplicationClass' cannot be embedded. Use the applicable
- Unable to cast COM object of type Microsoft.Office.Interop.Excel.ApplicationClass' ...
- 类型Microsoft.Office.Interop.Excel.ApplicationClass未定义构造函数
- 类型Microsoft.Office.Interop.Excel.ApplicationClass未定义构造函数
- 类型Microsoft.Office.Interop.Excel.ApplicationClass未定义构造函数
- 类型Microsoft.Office.Interop.Excel.ApplicationClass未定义构造函数
- 类型Microsoft.Office.Interop.Excel.ApplicationClass未定义构造函数
- 无法将类型为Microsoft.office.interop.Excel.ApplicationClass的COM对象强制转换为Microsoft.office.interop.Excel._Appl
- 无法将类型为“Microsoft.Office.Interop.Excel.ApplicationClass”的 COM 对象强制转换为接口类型“Microsoft.Office.Interop.Ex
- 无法嵌入互操作类型“Microsoft.Office.Interop.Excel.ApplicationClass”。请改用适用的接口
- 无法嵌入互操作类型“Microsoft.Office.Interop.Excel.ApplicationClass” 问题处理
- 无法嵌入互操作类型“Microsoft.Office.Interop.Excel.ApplicationClass”。请改用适用的接口
- 无法将类型为"Microsoft.Office.Interop.Excel.ApplicationClass"的 COM 对象强制转换
- 无法嵌入互操作类型“Microsoft.Office.Interop.Excel.ApplicationClass”。请改用适用的接口
- java学习之旅27--键盘输入_Scanner类的使用_import简单入门
- 黑马程序员——jdk1.5新特性
- HDU_2069 Coin Change(dfs)
- Redis命令学习-Pub/Sub(发布/订阅)
- 74.Search a 2D Matrix&240. Search a 2D Matrix II
- The type 'Microsoft.Office.Interop.Excel.ApplicationClass' has no constructors defined
- 推荐一个 python 的学习网址
- 6.27 洗刷刷 1 oj 运算符重载 复数之和 (3+4i)+(5-10i)
- js获取来源url(上个页面的地址)
- poj 3103 Cutting a Block 模拟水题
- Android 让EditText失去焦点避免自动弹出输入法
- Android:TextView代码动态设置colors.xml颜色
- C++ map用法
- 【swift-总结】函数