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

Excel Interop different versions

P: n/a
Hello,

I've developed an assembly, which opens an excel workbook and readout the
range names and -values. I'm working with Office XP on my computer. I want to
deploy this assembly on computers, using excel version 97/2000/2002/2003. Is
this possible and allowed, if I copy the PIA microsoft.office.interop.excel
to the target computer?
If not, do I need all Excel versions(pretty expensive)?

Best regards
Maik
Nov 17 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a
I've kept copies of the olb files from Excel 97 and Word 97 for my projects.
By doing this, you can add a reference to these files and can reasonably
expect to be able to run your software against Excel 97 and anything higher.

So far, my code has worked with Excel 97, 2000 and 2003 without any
modification.

Steve
"Maik" <Ma**@discussions.microsoft.com> wrote in message
news:FF**********************************@microsof t.com...
Hello,

I've developed an assembly, which opens an excel workbook and readout the
range names and -values. I'm working with Office XP on my computer. I want
to
deploy this assembly on computers, using excel version 97/2000/2002/2003.
Is
this possible and allowed, if I copy the PIA
microsoft.office.interop.excel
to the target computer?
If not, do I need all Excel versions(pretty expensive)?

Best regards
Maik

Nov 17 '05 #2

P: n/a
Yes, this will be a good solution. But is it allowed and legal that I copy an
interop dll of a microsoft product on a deploying machine? Our customer pays
for our solution and I dont't want to infringe Microsoft Copyrights.
Nov 17 '05 #3

P: n/a
My understanding, and I can't offer legal advice as the laws in different
countries may be different, is that the "olb" file should be copyable
between machines. It does not give you the ability to run Excel, so I can't
see that you'll be pirating software. Anyway, you have a licence for a
version of Excel, so you've paid for the software.

Steve

"Maik" <Ma**@discussions.microsoft.com> wrote in message
news:61**********************************@microsof t.com...
Yes, this will be a good solution. But is it allowed and legal that I copy
an
interop dll of a microsoft product on a deploying machine? Our customer
pays
for our solution and I dont't want to infringe Microsoft Copyrights.

Nov 17 '05 #4

P: n/a
Thanks for your advice. I only have one problem. I don't have an excel97
version on my computer. Is it possible to download the excel8.olb file(for
excel97) and use it for my solution?
Nov 17 '05 #5

P: n/a
I got mine off an old Office 97 install. You could always ask your client
for the files - they should have been installed to the Office folder. Don't
know of a specific download site.

Steve

"Maik" <Ma**@discussions.microsoft.com> wrote in message
news:A0**********************************@microsof t.com...
Thanks for your advice. I only have one problem. I don't have an excel97
version on my computer. Is it possible to download the excel8.olb
file(for
excel97) and use it for my solution?

Nov 17 '05 #6

P: n/a
Are you sure that I'm autorized by microsoft to copy an olb file from our
customer? Do you have a reference about this subject?

Is there any saved statement from Microsoft about copying olb files or
copying microsoft interop assemblies on deploying machines?
Nov 17 '05 #7

P: n/a
I can't be sure about copying an olb file from a users machine - it was just
a suggestion. As I say, I already had them so it was never a problem.

MS allow you to freely download the interop assemblies for the latest
version of office, so I can't see why you can't have them for an older
version. Why not checkout the Office support web site and see if they're
available.

Steve
"Maik" <Ma**@discussions.microsoft.com> wrote in message
news:60**********************************@microsof t.com...
Are you sure that I'm autorized by microsoft to copy an olb file from our
customer? Do you have a reference about this subject?

Is there any saved statement from Microsoft about copying olb files or
copying microsoft interop assemblies on deploying machines?

Nov 17 '05 #8

P: n/a
Someone helped me in another thread with a link.
http://support.microsoft.com/default...b;en-us;311452
Thanks for your help Steve

Regards
Maik
Nov 17 '05 #9

P: n/a
This article mentions licensing briefly:
http://support.microsoft.com/default...;EN-US;q257757
The way I read is that as long as the end user of your app has a licensed
version of Excel running, you are fine. It also mentions some 3rd party
alternatives to Excel automation.

This article shows you how to build an Interop assembly that will work
accross all versions of Excel:
http://www.devcity.net/Articles/163/1/article.aspx

--scott

--

"Maik" wrote:
Hello,

I've developed an assembly, which opens an excel workbook and readout the
range names and -values. I'm working with Office XP on my computer. I want to
deploy this assembly on computers, using excel version 97/2000/2002/2003. Is
this possible and allowed, if I copy the PIA microsoft.office.interop.excel
to the target computer?
If not, do I need all Excel versions(pretty expensive)?

Best regards
Maik

Nov 17 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.