title: Opening office documents in WebBrowser control without file download dialog?
body: <p>I am using the WebBrowser control in my WPF application to embed the opening of Office documents.</p>
  
  <p>When opening a document: <code>webBrowser.Navigate("example.docx");</code> a file download dialog appears.</p>
  
  <p>I would like the file to just open without prompting the user to open or save. You can do this by changing the <code>Confirm open after download</code> checkbox in file types tab of folder options (<a href="http://support.microsoft.com/kb/303475" rel="nofollow">http://support.microsoft.com/kb/303475</a>). But I would like to be able to do this automatically within my program.</p>
  
  <p>Is there some registry flag I can set to do this or any other way to achieve what I need?</p>