title: How to open, modify and save a file with javascript and ActiveX?
body: <p>I tried different methods to open and show a file on client without to send the file to a server.</p>
  
  <p>Opening: I tried to access the file with javascript from a <code>&lt;input type=file&gt;</code>, but the security restriction seems to not allow that.
  I tried also <code>&lt;iframe src=file://local.path&gt;</code> with the same problem.
  Last i tried with <code>new ActiveXObject('Scripting.FileSystemObject');</code>, but I get always an error that automationserver could not create the Object.</p>
  
  <p>For saving I tried to use <code>execCommand('SaveAs',true)</code> from TextRange and DocumentFragment. From DocumentFragment I'm able to save a file but it contains only <code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;</code>. From TextRange is no save dialog shown.</p>
  
  <p>What could I do?</p>