title: Starting process from Web Application
body: <p>I am actually trying to start a process for winzip and zip a folder. This i am doing using the below code in vb.</p>
  <pre><code>Dim startInfo As New System.Diagnostics.ProcessStartInfo
  Dim pStart As New System.Diagnostics.Process
  Dim tempFileName As String
  Try
      startInfo = New System.Diagnostics.ProcessStartInfo( _
      &quot;c:\Program Files\WinZip\WINZIP32.EXE&quot;)
      startInfo.Arguments = &quot; -a -r &quot;&quot;c:\test.zip&quot;&quot; c:\test&quot;
      startInfo.UseShellExecute = False
      startInfo.WindowStyle = Diagnostics.ProcessWindowStyle.Normal
  
      pStart.StartInfo = startInfo
      'startInfo.WorkingDirectory = &quot;c:\Program Files\WinZip&quot;
      'startInfo.FileName = &quot;WINZIP32.EXE&quot;
      pStart.Start()
      pStart.WaitForExit()
      
  Catch ex As Exception
      Throw
  End Try
  </code></pre>
  <p>This works fine when it's put in a button click event of a windows application. But when the same is done in a button click event of a web application I can see the process is started in the task manager of the machine. But its doesn't zip nor does it close the application nor does it pop up its winzip ui.... But in very few machines this does work fine. In most of the machine i am facing the problem and also able to reproduce the problem consistently...</p>
  <p>But a similar thing if i try doing using 7z zip, it does work fine form a web application itself...</p>
  <p>Is there a workaround for this process?</p>