By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,275 Members | 1,995 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,275 IT Pros & Developers. It's quick & easy.

COM REFERENCE vs difference office installations

P: n/a
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

Apr 15 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
>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.
Apr 15 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.