Create Word Documents from IE

I have a series of HTML input forms designed to create a form letter to be opened in MS Word. How is this typically accomplished I would like to also set the default directory, filename, and document type (.doc).

Answer this question

Create Word Documents from IE

  • chanmy8

    Hi Dave!

    I have a similar problem:

    I need to generate a report in ASP.NET (C#) and save this in MS Word 2003. But I could save it on the server and send a link to the user to download the .doc, so access to FS is not a problem actually.

    But I'm pretty new to it.
    Could you help me on HOW to do this


    Thanks in advance.


  • John Samperi

    Hello Dave,

    I am working from an intranet server to generate a form letters from user input forms. The form letters are to be saved/printed locally on the client's workstation. The client's workstation has Windows XP and Office 2003.

    Thank you for your reply.

    John


  • ccote

    Hello Dave,

    Thank you for your reply.

    I am exploring methods to allow the customer to open the HTML generated content in MS Word.  I currently have the option set up to print the HTML document from IE via Javascript.  I also have set up the option to open the document in MS Word since the customer may want to save the letter for later usage.  CSS is used for formatting and XML is imbeded to set the display in MS Word to view.  However, there are a few issues which are not friendly to the average user.  A blank IE window displays when the content is opened in MS Word.  I can suggest a filename for the document but cannot set the document type and default file location when the user wants to save the file within MS Word. 

    John


  • gmannu

    Hi,

    Can you provide more details of from where you are trying to do this. If you need to write to the user's file system then you may need to use an extension such as an ActiveX control.

    Thanks
    -Dave



  • Lee Jensen

    Hi John,

    For security reasons direct access to the file system is restricted from the browser without user input. You may wish to explore generating the form as HTML and allowing the user to print and save as an html file directly from the browser.

    Thanks
    -Dave



  • Create Word Documents from IE