Launch an interactive window from ASP.NET
From: Eric (ericp_at_nextivr.com)
Date: 01/26/05
- Next message: Paul: "Re: dropdown list not keeping selection"
- Previous message: Marina: "Re: requiredfield indicators"
- Next in thread: Marina: "Re: Launch an interactive window from ASP.NET"
- Reply: Marina: "Re: Launch an interactive window from ASP.NET"
- Reply: Steve C. Orr [MVP, MCSD]: "Re: Launch an interactive window from ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 Jan 2005 14:56:02 -0500
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
- Next message: Paul: "Re: dropdown list not keeping selection"
- Previous message: Marina: "Re: requiredfield indicators"
- Next in thread: Marina: "Re: Launch an interactive window from ASP.NET"
- Reply: Marina: "Re: Launch an interactive window from ASP.NET"
- Reply: Steve C. Orr [MVP, MCSD]: "Re: Launch an interactive window from ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|