Word Automation

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Andy (Andy_at_discussions.microsoft.com)
Date: 03/23/05


Date: Wed, 23 Mar 2005 15:45:04 -0800

I am trying to do the following from an ASP.NET Web Application (C#).

User fills out a form.
The program takes those answers and merges them with a WORD document.

I have tried the few examples of launching word from my app and get ACCESS
DENIED when the Word attempts to start.

Once the merge is complete, the document gets saved and sent to the user to
open and further edit if necessary. The initial merge part doesn't have to
even show up on the screen.

If I can't automate Word to the merge, I can save my template files as RTF,
but haven't found an easy way to read the RTF file and do that merge.

Any help would be great. Thanks.

ANDY



Relevant Pages

  • Re: Deletion of Empty Page in the Word Document through VBA
    ... > pictures, etc) into a single, final word document. ... the .rtf file is formed from the html file. ... > is in the 'last but one' row of a table and sometimes if the control ... > scan each and every page and finding if any empty page is there. ...
    (microsoft.public.word.numbering)
  • RE: from Access Report to Ms.Word
    ... Access exports as an .RTF file which can be used as a ... Word document, but not with all the fancy formatting bells and whistles. ... export/print it as a PDF file. ...
    (microsoft.public.access.externaldata)
  • Re: word to pdf converter program !!!
    ... Can you install a different printer driver just for testing purposes. ... Now we know that the PDF Mechanism works from Word 2004, ... Now try the same with a .doc file, and again with the RTF file. ... as a Word document, but the time being, there being no further input, ...
    (microsoft.public.mac.office.word)
  • Re: Image in the body
    ... PMJI, but Goldwind wanted to embed an image in the body of a contact, not a ... What about creating a Word document with the picture inserted, ... saving it as an RTF file, then using Redemption to read the RTF content into ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: word to pdf converter program !!!
    ... Now we know that the PDF Mechanism works from Word 2004, ... Now try the same with a .doc file, and again with the RTF file. ... as a Word document, but the time being, there being no further input, ...
    (microsoft.public.mac.office.word)