Re: Launch an interactive window from ASP.NET
From: Marina (someone_at_nospam.com)
Date: 01/26/05
- Next message: Steve C. Orr [MVP, MCSD]: "Re: Launch an interactive window from ASP.NET"
- Previous message: Paul: "Re: dropdown list not keeping selection"
- In reply to: Eric: "Launch an interactive window from ASP.NET"
- Next in thread: Eric: "Re: Launch an interactive window from ASP.NET"
- Reply: Eric: "Re: Launch an interactive window from ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 Jan 2005 15:06:11 -0500
Why do you want this? The users of your asp.net application are going to be
sitting at their desk accessing your site. So this would not apply to them.
If the person logged into the server needs notepad, why are they browsing
to a site located on the same machine, instead of just running an executable
locally that can launch appropriate programs?
"Eric" <ericp@nextivr.com> wrote in message
news:O3hXTE%23AFHA.1564@TK2MSFTNGP09.phx.gbl...
> 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: Steve C. Orr [MVP, MCSD]: "Re: Launch an interactive window from ASP.NET"
- Previous message: Paul: "Re: dropdown list not keeping selection"
- In reply to: Eric: "Launch an interactive window from ASP.NET"
- Next in thread: Eric: "Re: Launch an interactive window from ASP.NET"
- Reply: Eric: "Re: Launch an interactive window from ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|