title: System.Diagnostics.Process.Start Issue
body: <p>I seem to have a weird issue with the System.Diagnostics.Process.Start method.  I have a C# Desktop application using 3.5 SP1 .NET Framework. A user clicks on a label which passes a folder path stored in it's tag as a string to the function.  Windows Explorer launches with the correct folder.  When this tool is installed on Citrix and is run through a published application, Windows Explorer will still launch but a .NET exception message is also displayed "The System cannot find the file specified".</p>
  
  <pre><code>System.ComponentModel.Win32Exception: The system cannot find the file specified
  at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
  at System.Diagnostics.Process.Start()
  at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
  at System.Diagnostics.Process.Start(String fileName)
  </code></pre>
  
  <p>The file path exists as it's just launched it ok and the code works with no errors when logged locally onto the server, it just errors as a published application, my code is below</p>
  
  <pre><code>Label label = (Label)sender;
  if (label.ForeColor == Color.Blue) {
     if (System.IO.Directory.Exists(label.Tag.ToString()) == false)
     {
        MessageBox.Show("The specified folder does not exist:" + 
              Environment.NewLine + Environment.NewLine + label.Tag.ToString(), "",
              MessageBoxButtons.OK, MessageBoxIcon.Information);
        return;
     }
     System.Diagnostics.Process.Start(label.Tag.ToString()); 
  }
  </code></pre>
  
  <p>I found this page <a href="http://forums.citrix.com/thread.jspa?messageID=1382638" rel="nofollow noreferrer">http://forums.citrix.com/thread.jspa?messageID=1382638</a> but we don't have IIS on the server anyway.</p>
  
  <p>Can any one help?</p>
  
  <p>Thanks,
  Rob</p>