Creating word document

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vajrala Narendra
    New Member
    • Jun 2007
    • 73

    Creating word document

    Hi all,
    am working on asp.net 2.0, c#
    i want to create a word document through coding
    for that i add reference from COM Microsoft word 11.0 object library, type lib version 8.3
    but while importing am not getting using System.Microsof t.Office.Intero p.Word
    why this is happening how to achieve this

    please help itz very urgent to me

    Thankyou
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    If you added a reference, you can manually put that using statement at the top of your program.

    If I have misunderstood your question, please clarify.

    Comment

    • Vajrala Narendra
      New Member
      • Jun 2007
      • 73

      #3
      Originally posted by insertAlias
      If you added a reference, you can manually put that using statement at the top of your program.

      If I have misunderstood your question, please clarify.

      i tried with using key word but it not displaying microsoft.word. ... or atleast word
      am getting error in web.config as Configuration Error

      and that error was
      Code:
      <add assembly="Microsoft.Office.Interop.Word, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"/></assemblies>
      in my project no bin, how to add bin now.

      please reply me

      thankyou

      Comment

      • Curtis Rutland
        Recognized Expert Specialist
        • Apr 2008
        • 3264

        #4
        did you right-click on your project, and select "Add Reference"?

        Comment

        • Vajrala Narendra
          New Member
          • Jun 2007
          • 73

          #5
          Originally posted by insertAlias
          did you right-click on your project, and select "Add Reference"?
          yes right click on my project , select add reference and from COM i select Microsoft word 11.0 library and click ok
          at that time it not gave any error

          Comment

          • SvenV
            New Member
            • Oct 2008
            • 50

            #6
            Maybe this can help: Microsoft Word Documents from ASP.NET

            Comment

            Working...