![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/12/2002, 20:46
|
| | Fecha de Ingreso: julio-2001
Mensajes: 80
Antigüedad: 23 años, 7 meses Puntos: 1 | |
Este código te puede servir de referencia, lo he escrito en VBScript, pero se puede hacer también en JavaScript:
<script language="VBScript">
function NP()
Dim oShell
Set oShell = CreateObject ("WSCript.shell")
oShell.exec "notepad"
Set oShell = Nothing
end function
</script>
Luego lo puedes llamar desde un botón de esta manera:
<input type="button" name="Button" value="Button" onClick="NP()">
Sólo tienes que cambiar donde yo puse "notepad" poner la ruta del Word |