accesing local exe file from asp.net application
- by sansknwoledge
hi, i am having a intranet asp.net application , all the clients connected to it is having a specific .exe file in their local disk, now i want to execute the .exe file from the .net application hosted in a intranet server. i used this code to do that
Dim psi As New System.Diagnostics.ProcessStartInfo()
psi.WorkingDirectory = "C:\\"
psi.FileName = "c:\\Project1.exe" '"file:///c:/Project1.exe"
psi.Arguments = iApqpId 'cTimeMaster.APQPID
psi.UseShellExecute = False
System.Diagnostics.Process.Start(psi)
but it is throwing a error the system cannot find the file specified.
is it having a permission issue on local system or any thing else, any help would be greatly appriciated.
thanks and regards