如何在网页中启动.exe文件。 [英] how to launch .exe file with in the webpage.

查看:127
本文介绍了如何在网页中启动.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文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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