保存Excel文件C#的一个例外 [英] An exception in saving excel file C#

查看:89
本文介绍了保存Excel文件C#的一个例外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

system.runtime.interopservices.comexption(080010108)this exption apear when i run my progrm in other computer in the button1 event this button write in to excel file and show dialog to the user to specify its location although this program run well on my computer without any exception





我尝试过:



i coudnot找不到此异常的任何答案



What I have tried:

i coudnot find any answer for this exception

推荐答案

您需要在运行的任何计算机上安装Excel这个应用程序。所有应用程序都在自动执行Excel,因此如果没有安装Excel,则无需自动执行。
You need Excel installed on any machine you run this app on. All the app is doing is automating Excel, so if Excel is not installed there is nothing for it to automate.


这篇关于保存Excel文件C#的一个例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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