title: How can I execute an EXE file in asp.net website?
body: <p>I have a website in asp.net with VB, and I have a link to a medical program that is installed in PC, when I click the link I want to execute the .exe for this program. I found this code but it´s works only when my project is locally:</p>
  
  <pre><code> System.Diagnostics.Process.Start("C:\Windows\System32\MiProgram.exe")
  </code></pre>
  
  <p>I also tried with this code:</p>
  
  <pre><code> Dim OpenDoc As ProcessStartInfo = New ProcessStartInfo
   Dim stPath As String = "C:\Windows\System32\MiProgram.exe"
   OpenDoc.FileName = stPath
   OpenDoc.Verb = "open"
   OpenDoc.WindowStyle = ProcessWindowStyle.Normal
   Process.Start(OpenDoc)
  </code></pre>
  
  <p>Both codes works locally, but when I get my project to the web, does nothing</p>
  
  <p>I also read that I can enable de IIS Service, I follow the steps of <a href="https://support.microsoft.com/en-us/kb/555134" rel="nofollow">this page</a>, but is not use to me.<br>
  Is there any solution to this problem?</p>
  
  <p>I accept suggestions. 
  Thanks.</p>