Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...