系统。诊断.process.start(" wmplayer.exe"& e.commandarguement) [英] system . diagnostics .process.start("wmplayer.exe" & e.commandarguement)

查看:121
本文介绍了系统。诊断.process.start(" wmplayer.exe"& e.commandarguement)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

System.Diagnostics.Process.Start(wmplayer.exe,e.CommandArgument)

不会从iis传递的文件启动wmplayer。有什么建议或帮助吗?急需工作

System.Diagnostics.Process.Start("wmplayer.exe", e.CommandArgument)
does not start wmplayer with the file passed from iis. any suggestions or help? need it urgently working

推荐答案

如果这是在您的ASP.NET代码中,您只需在服务器上打开Windows Media Player而不是客户端。



所有ASP.NET代码都在服务器端运行,而不是在客户端运行。您无法使用Process.Start在客户端上启动任何内容。您只需发送内容,客户应确定如何处理它。
If this is in your ASP.NET code, you just opened Windows Media Player on the server NOT the client.

All ASP.NET code runs server-side, not on the client. You cannot use Process.Start to launch anything on the client. You just have to send the content and the client should determine what to do with it itself.


这篇关于系统。诊断.process.start(" wmplayer.exe"& e.commandarguement)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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