Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Reference to Word 2003

Reference to Word 2003

Scheduled Pinned Locked Moved C#
csharpvisual-studiocomquestionannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Larza123
    wrote on last edited by
    #1

    I have added a microsoft word 2003 reference to a program of mine. I use C# .net visual studio 2005. It all works fine. I create a release and a dll file called Interop.Word.dll is created. The release work fine on my computer but when i try it on another it doesn't work. Do you know why? Word exists on the other computer. Is it because word doesn't exists at the same location on the other computer?

    D M 2 Replies Last reply
    0
    • L Larza123

      I have added a microsoft word 2003 reference to a program of mine. I use C# .net visual studio 2005. It all works fine. I create a release and a dll file called Interop.Word.dll is created. The release work fine on my computer but when i try it on another it doesn't work. Do you know why? Word exists on the other computer. Is it because word doesn't exists at the same location on the other computer?

      D Offline
      D Offline
      Dave Herren
      wrote on last edited by
      #2

      Did you copy Interop.Word.dll to the other computer, this is what lets it talk to Word? Is it the same version of word on the other computer? When you say it doesn't work, do you get an error? If so what is the error? If not what are the symptoms?

      topcoderjax - Remember, Google is your friend.

      1 Reply Last reply
      0
      • L Larza123

        I have added a microsoft word 2003 reference to a program of mine. I use C# .net visual studio 2005. It all works fine. I create a release and a dll file called Interop.Word.dll is created. The release work fine on my computer but when i try it on another it doesn't work. Do you know why? Word exists on the other computer. Is it because word doesn't exists at the same location on the other computer?

        M Offline
        M Offline
        Muammar
        wrote on last edited by
        #3

        Did you hard coded the dll location?? Well, DONT:).. You can always use the pretty handsome System.Environment.SpecialFolder to locate special folders on different computers.


        Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups