且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Excel Interop不同版本

更新时间:2023-10-03 22:00:52

我已经为我的项目保留了Excel 97和Word 97中olb文件的副本。

通过执行此操作,您可以添加对这些文件的引用,并且可以合理地

期望能够针对Excel 97及更高版本运行您的软件。


到目前为止,我的代码已经使用Excel 97,2000和2003而没有任何

修改。


史蒂夫

" Maik" <马** @ discussions.microsoft.com>在留言中写道

新闻:FF ********************************** @ microsof t.com ...
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...
你好,
我已经开发了一个程序集,它打开一个excel工作簿并读出
范围名称和值。我在计算机上使用Office XP。我想
使用excel版本97/2000/2002/2003在计算机上部署这个程序集。
如果我复制PIA那么这是可能的并且允许> microsoft.office.interop.excel
目标计算机?
如果没有,我是否需要所有Excel版本(相当昂贵)?

***的问候
Maik
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



是的,这将是一个很好的解决方案。但是,在部署的计算机上复制微软产品的

interop dll是否允许和合法?我们的客户为我们的解决方案支付了
,我不想侵犯微软版权。
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.


我的理解,我不能提供法律建议,因为不同的b $ b国家的法律可能不同,是olb。文件应该是可复制的
机器之间的
。它不能让你运行Excel,所以我不能看到你会盗版软件。无论如何,你有一个

版本的Excel许可证,所以你已经为这个软件付了钱。


Steve
>
" Maik" &LT;马** @ discussions.microsoft.com&GT;在消息中写道

news:61 ********************************** @ microsof t.com ...
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.