c# - How to make Windows forms app to support Older versions of MS Office?
问题描述
I need to develop a windows app program. I have Office 2013 in my Machine. And I need to develop the app which supports Office 2013 User machine also. How to do reference dll for it?
I expect that I will develop using Office 2013 and it should supports(the app should work) on Office 2010 also
I have made the app with excel 14.0 reference file. So that if a machine have excel 2010, then the app couldn't open on that
解决方案
Things go the other way around with Office!
To support all versions of Office back to 2010, you have to develop and maintain your WinForms application with Office 2010, that is the oldest version of Office that you want to support. Whenever you deploy your application on a machine that has Office 2010 or a more recent version, it will work. But it will fail with older versions such as 2007 and 2003.
This design makes sense since one cannot expect that a workook developed with say, Excel 2016, can be run by Excel 2010 without error. The 2016 workbook may use features that did not exist in 2010.
推荐阅读
- tensorflow - Keras 中具有多个输入/输出的 tf.data
- c++ - 如何在 C++ 中删除字符串中的某些字符?
- ios - 以编程方式相对于安全区域的底部定位视图
- java - Android:ListView中每一行的动态复选框数
- django - StreamField 块中的图像无法识别
- python - 全局变量在 Python Tkinter 中充当局部变量
- mysql - 如何在 mySQL 工作台中创建表?
- php - 通过 PHP 以 HTML 格式将视频存储在 MySQL 输出中
- ruby-on-rails - 应用程序不会通过 Sendgrid 发送确认电子邮件并设计
- mongodb - 为图像生成 URL?