Objeto ActiveX

16/07/2003 - 10:38 por fordfy | Informe spam
Intento ejecutar un script y me dá el error "El componente ActiveX no puede
crear el objeto:'Wscript.Shell'"
¿Alguien puede ayudarme?

<SCRIPT LANGUAGE="VBScript">
<!--
sub ClickFunction()
dim obj
miFile = "calc.EXE"
Set obj = CreateObject("WSCript.Shell")
obj.Run miFile
end sub
</SCRIPT>

Gracias
FordFY
 

Leer las respuestas

#1 C.J.Ríos
16/07/2003 - 11:07 | Informe spam
¿Tienes registrado el componente?
Puede que lo tengas en tu máquina local, pero en el servidor donde alojes tu
página debe estar registrado también.

¡Salu2!


"fordfy" escribió en el mensaje
news:
Intento ejecutar un script y me dá el error "El componente ActiveX no


puede
crear el objeto:'Wscript.Shell'"
¿Alguien puede ayudarme?

<SCRIPT LANGUAGE="VBScript">
<!--
sub ClickFunction()
dim obj
miFile = "calc.EXE"
Set obj = CreateObject("WSCript.Shell")
obj.Run miFile
end sub
</SCRIPT>

Gracias
FordFY


Preguntas similares