title: Which reasons could make ShellExecute fail?
body: <p>I have a VB6 application which opens files with their associated application using:</p>
  
  <pre><code>ShellExecute(0, "open", filename, params, vbNullString, vbNormalFocus)
  </code></pre>
  
  <p>This works perfectly. </p>
  
  <p>Now I got a customer (running XP with Adobe Reader) who can't open any PDF file using the above command. But the same file is being opened without any problems when double clicking it from Windows Explorer. I also tested the filename/-path combination on my machine to exclude those kind of problems.</p>
  
  <p>I'm searching for any hints on what I could check to make sure <code>ShellExecute</code> is working. Or what can cause ShellExecute to fail this way?</p>