Call an EXE From Asp.Net Application in Button Click: ProcessStartInfo Class |
|
Answered By
Moderator1
on
9/11/2012 9:21:21 AM |
|
|
|
|
Hi,
Below is the source code to start the exe from an asp.net web application. But you must have a full-trust permission for your application.
The sample code is
using System;
using System.Diagnostics;
using System.ComponentModel;
ProcessStartInfo info = new processStartInfo(@"c:\winapp.exe");
info.UseShellExecute = false;
Process p = Process.Start(info);
p.start();
You can find more details on the below url:
http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo%28v=vs.100%29.aspx |
|
|
|