如何在网页中启动.exe文件。

编程入门 行业动态 更新时间:2024-10-28 16:26:10
本文介绍了如何在网页中启动.exe文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想在网页本身的一部分启动谷歌地球应用程序。 i尝试下面的工作,但它没有打开在网页。正在打开正常的Windows应用程序。请提供一些解决方案。 使用System.Diagnostics; protected void Button1_Click(object发件人,EventArgs e) { string str = @C:\Program Files(x86)\Google \ Google Earth \googleearth.exe; 流程流程=新流程(); process.StartInfo.FileName = str; process.Start(); }

i want to launch google earth application with in part of the web page itself. i tried like below its working but it is not opening with in the web page.it is opening as normal windows application.please provide some solution. using System.Diagnostics; protected void Button1_Click(object sender, EventArgs e) { string str = @"C:\Program Files (x86)\Google\Google Earth\googleearth.exe"; Process process = new Process(); process.StartInfo.FileName = str; process.Start(); }

推荐答案

好的,非常聪明,你将在服务器端启动Google Earth。谁来看看呢?在服务器刀片计算机的所有机架之间行走的清洁人员?... :-) 你终于得到了你在说什么吗?
-SA
Okay, very smart, you will start Google Earth on the server side. And who will look at it? A cleaning person while walking between all those racks with server blade computers?.. :-) Are you finally getting what you are talking about?
—SA

我不确定以下是否是正确答案。你可以尝试一下 Google地球 [ ^ ] 它适用于Windows应用程序,但您也可以尝试使用相同的Web应用程序.. I am not sure the following is the correct answer. You can try it out Google Earth in your Windows Form[^] Its for windows application but you can try the same for your web application also..

更多推荐

如何在网页中启动.exe文件。

本文发布于:2023-10-22 09:09:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1517079.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网页   文件   如何在   exe

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!