COM REFERENCE vs difference office installations

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tamasumalta@hotmail.com

    #1

    COM REFERENCE vs difference office installations

    Hi,

    I am adding a reference to Microsoft Word Office 11 under the COM tab.
    I will do the coding required to work with word from vb.net, what
    happens if the client does not have OFFICE 2003 installed? What
    happens if the client does not have OFFICE installed? What happens if
    Office is not installed in the location specified by the assembly? If
    the client has OFFICE 2007 or OFFICE is installed in another location
    will my program work?

    Are there any measure I should take? Your help will be very
    appreciated!

    Thanks

  • Mattias Sjögren

    #2
    Re: COM REFERENCE vs difference office installations

    >I will do the coding required to work with word from vb.net, what
    >happens if the client does not have OFFICE 2003 installed?
    If they have a more recent version (Office 2007) installed it should
    hopefully still work (but you should of course test that). It will
    probably not work with earlier versions.

    >What happens if the client does not have OFFICE installed?
    You'll get an exception the first time you try to instantiate an
    object from the Office library.

    >What happens if
    >Office is not installed in the location specified by the assembly? If
    >the client has OFFICE 2007 or OFFICE is installed in another location
    >will my program work?
    The install location doesn't matter. The interop assembly doesn't
    store any file paths.


    Mattias

    --
    Mattias Sjögren [C# MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    Working...