MailMerge Microsoft article problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan T

    MailMerge Microsoft article problem

    I am working and tried to start and read an article from MS:



    I followed the step to add reference to my dummy application, Microsoft Word
    11.0 Object Library.
    Also add the - using Microsoft.Offic e.Interop.Word

    At the beginning of the code from the article,


  • Alan T

    #2
    Re: MailMerge Microsoft article problem

    Sorry, I accidentally press the send button, here's the complete thread:

    I am trying to start on Word document merge, and read an article from MS:



    I am using VS 2005.
    I followed the step to add reference to my dummy application, Microsoft Word
    11.0 Object Library.
    Also add the -
    using Microsoft.Offic e.Interop.Word

    I copy and paste the code from the article to my project.

    I got a compilation error at the beginning of the code,
    Word.Applicatio n wrdApp;
    Word._Document wrdDoc;
    Object oMissing = System.Reflecti on.Missing.Valu e;
    Object oFalse = false;"The type or namespace name 'Word' could not be
    found'So I cannot event compile my dummy application.


    Comment

    Working...