Ciao a Tutti !!!
Ho questo problema...
Nella mia pagina asp in questo modo riesco a far eseguire direttamente al client, tramite browser, la calcolatrice :
<html>
<head>
<meta http-equiv="Content-Language" content="it">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<%@ Language=VBScript %>
<%
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application = "c:\calc.exe"
Executor.Parameters = "c:\windows\system32\autoexec.nt"
Executor.ShowWindow = True
strResult = Executor.ExecuteWinApp
%>
<title>Prova</title>
</head>
<body>
.....
Pero' anche se tutto funziona non e' cio' che voglio fare perche' il mio obiettivo e' il seguente... fare eseguire la calcolatrice tramite onclick su di un pulsante ... Ho provato col seguente codice e non mi ritorna niente e ho fatto diversi tentativi ma non riesco a capire dove sbaglio ...![]()
<html>
<head>
<meta http-equiv="Content-Language" content="it">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Prova</title>
</head>
<script Language = "VBScript">
Sub act()
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application = "c:\calc.exe"
Executor.Parameters = "c:\windows\system32\autoexec.nt"
Executor.ShowWindow = True
strResult = Executor.ExecuteWinApp
End Sub
</script>
<body>
.......
<input type="button" value="Dump" language="VBScript" onClick="vbscript:act">
........
</body>
Grazie mille in anticipo x l' attenzione !!!!