Visual Studio .NET - How to invoke an exe application through my web appliocation.

Asked By jeccinta jeccinta on 24-Oct-06 06:22 AM
Hi,
  I have a problem now.I need to invoke an exe application through my web application.Can u please tell me how to do this??

to invoke an exe application - sai k replied to jeccinta jeccinta on 24-Oct-06 06:42 AM

You can use System.Diagnostics.Process to invoke any exe from your web application.

You can find more about Process in MSDN.

call exe on button click action - cinthiya ram replied to jeccinta jeccinta on 25-Oct-06 12:06 AM

hi i am working in asp.net with c# ,i got the point that to use System.Diagnostics.Process to invoke or call exe,but i want know how to call exe on button click or pageload action.pls tell me the links regarding my problem or give me the code to do it.urgent pls
thank you.

call exe - babu chellathurai replied to cinthiya ram on 22-Nov-06 05:20 AM

you want to call on the client or server

If you want to do it on client then use javascript.

Use shell command to invoke it.

javascript code:

var a =new ActiveXObject("WScript.Shell");
a..Run("C:\\WINDOWS\\NOTEPAD.EXE");

Regards,

C.Babu
Invoke exe applicaion from web application - vijesh ezhuthan replied to sai k on 22-May-08 03:10 AM

Hello sir,

I am working in asp.net.

I want an on-screen keyboard with my web application

I tried to invoke osk.exe from my application

It is throw meesage like permission denied.

Have you any other solution for this problem.

thanks