Home > Web Front-end > HTML Tutorial > How to call desktop exe program on web page

How to call desktop exe program on web page

php中世界最好的语言
Release: 2018-02-01 10:00:03
Original
4127 people have browsed it

This time I will show you how to call the desktop exe program on the web page. What are the precautions for calling the desktop exe program on the web page? The following is a practical case, let's take a look.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml
:lang
="zh-cn"> 
<head> 
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 
<title>
Document
</title> 
<script type="text/
javascript
"> 
function start(strPath){ 
var objShell = new ActiveX
Object
("wscript.shell"); 
objShell.Run(strPath); 
objShell = null; 
} 
start("F:/adt-bundle-windows-x86-20130729/
eclipse
/eclipse.exe"); 
//注意路径中必须使用/ ,而不能使用\ 
</script> 
</head> 
<body> 
</body> 
</html>
Copy after login

I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!

Related reading:

How to implement github404 dynamics in canvas

html5How to create an animation effect of picture rotation

How does H5's file domain FileReader read files in segments and upload them to the server

How to use rem+scss on the mobile phone match

The above is the detailed content of How to call desktop exe program on web page. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template