Bouton html qui redirige vers word 2010
Bonjour,
je veux créér un bouton html qui redirige vers le vrai word 2010 du windows seven .voilà ce ke j'ai trouvé sur le net mais ça marche pas pour moi :
<code type="html">
<html>
<head>
<title>
hi!!!
</title>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function runword() {
var oSH = new ActiveXObject("WScript.Shell");
oSH.Run("winword.exe");
}
function runexcel() {
var oSH = new ActiveXObject("WScript.Shell");
oSH.Run("EXCEL.exe");
}
//-->
</SCRIPT>
</head>
<BODY LANGUAGE=javascript>
<button id=button1 name=button1 onclick="javascript: runword()">WORD</button><br>
<button id=button1 name=button1 onclick="javascript: runexcel()">EXCEL</button>
</BODY>
</HTML>
</code>
Merci d'avance et bonne journée .
je veux créér un bouton html qui redirige vers le vrai word 2010 du windows seven .voilà ce ke j'ai trouvé sur le net mais ça marche pas pour moi :
<code type="html">
<html>
<head>
<title>
hi!!!
</title>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function runword() {
var oSH = new ActiveXObject("WScript.Shell");
oSH.Run("winword.exe");
}
function runexcel() {
var oSH = new ActiveXObject("WScript.Shell");
oSH.Run("EXCEL.exe");
}
//-->
</SCRIPT>
</head>
<BODY LANGUAGE=javascript>
<button id=button1 name=button1 onclick="javascript: runword()">WORD</button><br>
<button id=button1 name=button1 onclick="javascript: runexcel()">EXCEL</button>
</BODY>
</HTML>
</code>
Merci d'avance et bonne journée .