title: Open file with associated application and with specific user in C#
body: <p>I need to open files of different types with their associated application. It works fine like this:</p>
  
  <pre><code>System.Diagnostics.Process.Start(@"C:\foo.jpg");
  </code></pre>
  
  <p>But when I need to open it with a specific user, I need to supply an executable, I can't open a document/image etc. ("The specified executable is not a valid application for this OS platform") Is there a smart workaround or would I need to get the associated application's data from registry and run the application with the document/image as argument? (So the question is not about how to run Process.Start() with arguments!)</p>