accesing local exe file from asp.net application
Posted
by sansknwoledge
on Stack Overflow
See other posts from Stack Overflow
or by sansknwoledge
Published on 2010-04-21T11:31:46Z
Indexed on
2010/04/21
11:33 UTC
Read the original article
Hit count: 261
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
© Stack Overflow or respective owner