title: How can I remove the file name from the path returned by FileDialog.FileName?
body: <p>How can I remove the actual file name from the path returned by the <code>FileName</code> property of an Open or Save File Dialog?</p>
  
  <p>All I want is the path to the file <em>without</em> the file name.</p>