J
jason
I have a DOS script that runs the batch version of an application
(called SAS) that generates log file. Executed from DOS the script
runs fine generating the log file. Except for a quick GUI flash, the
executable appears to be just a DOS executable.
From ASP.NET, I've am able to run other DOS scripts and DOS
executables without any problems, using code similar to what's below.
However when I attempt run this particular executable the browser
client just hangs in the hourglass endlessly.
Any Ideas?
Also, I've heard of people passing data and parameters to IE and Word
from ASP.NET, any idea
related code:
the dos script:
mybat.bat:
del d:\hedis\asptosas.log
D:\PROGRA~1\SASINS~1\SAS\V8\SAS.EXE -sysin d:\mysite\mysasprog.sas
the asp.net (vb) code:
sub dosas(Src as object, E as EventArgs )
Dim myproc As System.Diagnostics.Process
myproc = New System.Diagnostics.Process()
myproc.StartInfo = New
System.Diagnostics.ProcessStartInfo("d:\mysite\mybat.bat")
myproc.Start()
myproc.WaitForExit()
Thanks for any information or help with this.
(called SAS) that generates log file. Executed from DOS the script
runs fine generating the log file. Except for a quick GUI flash, the
executable appears to be just a DOS executable.
From ASP.NET, I've am able to run other DOS scripts and DOS
executables without any problems, using code similar to what's below.
However when I attempt run this particular executable the browser
client just hangs in the hourglass endlessly.
Any Ideas?
Also, I've heard of people passing data and parameters to IE and Word
from ASP.NET, any idea
related code:
the dos script:
mybat.bat:
del d:\hedis\asptosas.log
D:\PROGRA~1\SASINS~1\SAS\V8\SAS.EXE -sysin d:\mysite\mysasprog.sas
the asp.net (vb) code:
sub dosas(Src as object, E as EventArgs )
Dim myproc As System.Diagnostics.Process
myproc = New System.Diagnostics.Process()
myproc.StartInfo = New
System.Diagnostics.ProcessStartInfo("d:\mysite\mybat.bat")
myproc.Start()
myproc.WaitForExit()
Thanks for any information or help with this.