|
|
|
|
|
| | |
|
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Executing Windows Applications |
From: |
Manuel |
Date: |
10/18/1999 11:06:58 AM |
IP: |
200.38.229.118 |
Hi guys:
*****I have this problem with the ActiveExec component (its used to execute win app.)
When I Try to run this asp script to execute a windows Application like notepad:
<%
Set proc = Server.CreateObject("ActiveExec.Process")
CommandLine = "C:\Winnt\notepad.exe c:\news.txt"
proc.Execute CommandLine
Response.Write "Program " & CommandLine & " executed with return code " & _
proc.ReturnCode & "<BR>"
Response.Write "Output is:"
Response.Write "<BLOCKQUOTE><PRE>"
Response.Write proc.OutputStream
Response.Write "</PRE></BLOCKQUOTE>"
%>
*****The response of this execution is nothing, and the IE5 browser hangs on, I even can not see a flashing window (like if something have been executed in this case notepad) .
*****Also in my Task Manager (NT) appears an Instance of notepad.exe application running; if I try to kill it (end process) I get: "Access Denied" and the application keeps alive even If I dont see it. I have tried to change security issues and the response is the same.
I hope you can have an idea regarding above issue, Thanks in advance for your time.
Regards,
Manuel Mendoza |
Follow Up - Re: Executing Windows Applications - kal 10/18/1999 1:57:06 PM
|
|

|
|
|
|
|
|
|
|
|
|