Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/11/2009, 21:49
bebo
 
Fecha de Ingreso: octubre-2009
Mensajes: 97
Antigüedad: 15 años, 6 meses
Puntos: 4
Respuesta: S.O.S con codigo VBS

Así:
Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head> 
<title>ejecuta notepad</title>
<script language="VBScript"> 

Sub RunProgram 
Set objShell = CreateObject("Wscript.Shell")
objShell.Run "C:\Archivos de programa\agendagame\main.exe"
End Sub

</script> 
</head> 

<body> 
<button onclick="RunProgram">Run Program</button> <p>
</body> 
</html>
</body>
</html>