hlng Posted October 10, 2003 Posted October 10, 2003 I have a application which consists of both web and desktop application. On my web page, i need to call an exe file (.net application). Below is my code: using System.Diagnostics; private void btnExe_Click(object sender, System.EventArgs e) { Process DYProcess = new Process(); DYProcess.StartInfo.FileName = "C:\\Test.exe"; DYProcess.Start(); } After i click on the button, the Test.exe is not appear on the screen but the process in appear inside windows task manager. Quote
xamua Posted October 10, 2003 Posted October 10, 2003 well, that kind of makes sense really. as the process would be started on the server. a server that may or may not even have a display unit attached to it. if you're planning to execute applications on your server via asp.net, i'd assume they have no gui.... if you're looking to execute an application on the clients desktop, that's a whole other ballgame which i haven't a clue how to do via .net yet. give me a bit and i'll see what i can dig up. Quote
*Gurus* Derek Stone Posted October 10, 2003 *Gurus* Posted October 10, 2003 The process is executing under the ASPNET account, which doesn't have a visible desktop. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.