E
Eric
Hello,
I need to allow a web page to launch an interactive program on the web
server. For this example, I'd like to have the ASP.NET open notepad on the
asp server, so the current logged-in user can see it.
Here's the code I have implemented. Notepad starts, but is not visible on
the server desktop.
****************************
Dim commandPrompt As New System.Diagnostics.Process
Dim ps As New System.Diagnostics.ProcessStartInfo("notepad.exe")
ps.UseShellExecute = False
ps.RedirectStandardInput = False
ps.RedirectStandardOutput = False
ps.RedirectStandardError = False
ps.WorkingDirectory = "c:\"
ps.CreateNoWindow = false
ps.WindowStyle = 3
Dim proc As System.Diagnostics.Process = commandPrompt.Start(ps)
****************************
Thanks for your help.
Eric
I need to allow a web page to launch an interactive program on the web
server. For this example, I'd like to have the ASP.NET open notepad on the
asp server, so the current logged-in user can see it.
Here's the code I have implemented. Notepad starts, but is not visible on
the server desktop.
****************************
Dim commandPrompt As New System.Diagnostics.Process
Dim ps As New System.Diagnostics.ProcessStartInfo("notepad.exe")
ps.UseShellExecute = False
ps.RedirectStandardInput = False
ps.RedirectStandardOutput = False
ps.RedirectStandardError = False
ps.WorkingDirectory = "c:\"
ps.CreateNoWindow = false
ps.WindowStyle = 3
Dim proc As System.Diagnostics.Process = commandPrompt.Start(ps)
****************************
Thanks for your help.
Eric