如何在Silverlight 4中启动Excel.Exe进程... [英] How Do I Start Excel.Exe Process In Silverlight 4...

查看:112
本文介绍了如何在Silverlight 4中启动Excel.Exe进程...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在silverlight 4中启动excel.exe进程...

how do i start excel.exe process in silverlight 4...

推荐答案

我想你可以在下面提到的链接上使用解决方案



http:// stackoverflow。 com / questions / 2586128 / can-you-start-an-process-with-silverlight [ ^ ]
i think u can use solution on below mentioned link

http://stackoverflow.com/questions/2586128/can-you-start-an-outside-process-with-silverlight[^]


感谢您的回复我使用下面的代码

thank for your reply i used this code below
Dim cmd = AutomationFactory.CreateObject("Excel.Application")
       cmd.run("excel.exe", 1, True)





但我是天啊异常---当前上下文自动化中不支持此操作 - 并且已启用浏览器中正在运行的应用程序。



but im getting exception--- this operation is not supported in the current context automationfactory-- and running application out of browser is enabled.


这篇关于如何在Silverlight 4中启动Excel.Exe进程...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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