我们可以从Web应用程序下载窗口应用程序的exe吗?

编程入门 行业动态 更新时间:2024-10-22 15:37:31
本文介绍了我们可以从Web应用程序下载窗口应用程序的exe吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们可以从Web应用程序中下载窗口应用程序的exe吗? 如果可以的话,方案是: 1.该网站将提供向下链接该exe的链接. 2.单击链接后,将首先检查该计算机上是否已存在该exe, 如果确实要覆盖版本,则只需下载即可. 请提供相同的示例代码.

Can we download a window application''s exe from a web application??? If we can the scenario is: 1. The website will have a link to downdoad the exe. 2. When the link is clicked it will first be checked if the exe already exists on the computer, if it does than overwrite the version, else simply download. Please provide a sample code for the same.

推荐答案

是的,您可以从Web应用程序下载任何类型的文件,但不能强制客户端执行以下操作:替换他系统中的现有文件,因为您的网站无法访问客户端计算机.客户端可以自由地将文件保存在任何位置. 为此,您可以开发一个active-x控件来检查客户端计算机并执行所需的操作,但是为此客户端需要在其系统中安装active-x控件. Yes, you can download any type of files from a web application, but you can''t force the client to replace an existing file in his system, as your website don''t have any access to the clients machine. Client is free to save the file any where. To achieve this you can develop a active-x control which checks the clients machine and do what you are looking for, but for this client need to install the active-x control in his system.

我认为ClickOnce安装程序可以解决您的问题. I think ClickOnce installer can solve your problem.

更多推荐

我们可以从Web应用程序下载窗口应用程序的exe吗?

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

发布评论

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

>www.elefans.com

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