[英]Release of my c# application doesn't work on other machines “Microsoft office Interop Excel”
I tried to release my project on c# and got its setup file. 我试图在C#上发布我的项目,并获得其安装文件。 I used it on my own laptop and everything works.
我在自己的笔记本电脑上使用它,一切正常。 But after installing the app on other machines, I get the following Error:
the COM-Object from Type: System___ComObject cannot be converted to the interface "Micorsoft Office Interop Excel" Application
. 但是在其他计算机上安装该应用程序后,出现以下错误:
the COM-Object from Type: System___ComObject cannot be converted to the interface "Micorsoft Office Interop Excel" Application
。
Do you guys have any idea, what does that mean? 你们有什么主意吗?
您的代码正在尝试将Com对象转换为Microsoft.Interop.Excel.Application或将其类型转换为实际上不是Excel.Application对象。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.