03 2011 档案
导入Excel时启动Excel.exe进程出错
摘要:上一篇中讲解了利用Excel.exe进程导入Excel,如果有朋友使用我提供的代码就会发现,在启动Excel进程时出现抛出异常错误,错误信息是:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. 解决该问题还需要对DCOM进行配置,下面是配置步骤: 1) 运行dcomcnfg打开组件服务; 2) 依次展开“组件服务”-> "计算机" -&g 阅读全文
posted @ 2011-03-03 15:40 琴韵之弦 阅读(2322) 评论(1) 推荐(0)