Hello,
I'm trying to launch an application (.exe) from an asp page.
Here is what I write:
<% Dim variable_execution
Set variable_execution=Server.CreateObject("ASPExec.Execute"
variable_execution.application = "cmd"
variable_execution.parameters="/c c:\tcpclient.exe"
variable_execution.ShowWindow = True
Result_execution = variable_execution.ExecutedosApp response.write(Result_execution)
%>
I obtain this error:
ERROR: Could not create process
and when I write
Result_execution = variable_execution.ExecuteWinApp
instead of
Result_execution = variable_execution.ExecutedosApp
I obtain
cmd /c c:\tcpclient.exe
but the application didn't start!
I don't understand why. When I type c:\tcpclient.exe directly on msdos, it works!
Can someone help me?
I'm trying to launch an application (.exe) from an asp page.
Here is what I write:
<% Dim variable_execution
Set variable_execution=Server.CreateObject("ASPExec.Execute"
variable_execution.application = "cmd"
variable_execution.parameters="/c c:\tcpclient.exe"
variable_execution.ShowWindow = True
Result_execution = variable_execution.ExecutedosApp response.write(Result_execution)
%>
I obtain this error:
ERROR: Could not create process
and when I write
Result_execution = variable_execution.ExecuteWinApp
instead of
Result_execution = variable_execution.ExecutedosApp
I obtain
cmd /c c:\tcpclient.exe
but the application didn't start!
I don't understand why. When I type c:\tcpclient.exe directly on msdos, it works!
Can someone help me?