在網頁上調用桌面exe程序的簡單方法
來源:易賢網 閱讀:1418 次 日期:2016-06-23 09:12:48
溫馨提示:易賢網小編為您整理了“在網頁上調用桌面exe程序的簡單方法”,方便廣大網友查閱!

本文主要介紹在網頁上如何調用桌面exe程序。

網頁代碼如下:

代碼如下:

<!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 activexobject(wscript.shell);

objshell.run(strpath);

objshell = null;

}

start(f:/adt-bundle-windows-x86-20130729/eclipse/eclipse.exe);

//注意路徑中必須使用/ ,而不能使用\

</script>

</head>

<body>

</body>

</html>

希望對大家有幫助!

更多信息請查看網頁制作
關于我們 | 聯系我們 | 人才招聘 | 網站聲明 | 網站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

版權所有:易賢網