如何编辑DsoFramer 1.3?
我正在使用 DsoFramer 1.3 在我的项目中保存 Excel (2007) 文档。 但它有一个很大的问题,那就是:
所有用DsoFramer打开的Excel文档只共享一个Excel进程。 结果是当 DsoFramer 打开第二个 Excel 文档时,第一个文档无法编辑。
更严重的是,当我直接在Windows资源管理器中双击Excel文档时,DsoFramer中的文档会失去焦点,因为任务管理器中只有一个excel.exe
,最后一个会获得焦点。
幸运的是,微软提供了DsoFramer 1.3的源代码,尽管不支持它。 (http://www .microsoft.com/downloads/details.aspx?FamilyId=CE2CA4FD-2169-4FAC-82AF-770AA9B60D77&displaylang=en。)
如何编辑源代码,然后使其在打开文件时生成新的 Excel 进程Excel 文档每次都使用 dsoframer?
我尝试了 Steve 的方法,但它不起作用。 DSOFramer 在另一个中关闭 Excel 文档窗户。 如果文件中未保存数据,dsoframer 无法打开并显示“尝试访问无效地址”
I'm using DsoFramer 1.3 in my project to hold Excel (2007) documents. But it have a big problem, that is:
All the Excel documents opened by DsoFramer share only one Excel process. The result is when the second Excel document opened by the DsoFramer, the first document is uneditable.
Even more, when I double click an Excel document in Windows Explorer directly, the documents in the DsoFramer will lose focus, because only one excel.exe
in the task manager, the last will get it.
Fortunately, microsoft supplies the source code of DsoFramer 1.3, though does not support it.
(http://www.microsoft.com/downloads/details.aspx?FamilyId=CE2CA4FD-2169-4FAC-82AF-770AA9B60D77&displaylang=en.)
How do I edit the source code then make it generate a new Excel process when opening a Excel document using dsoframer every time?
I have taken a try to Steve's method, but it doesn't work.
DSOFramer closing Excel doc in another window. If unsaved data in file, dsoframer fails to open with "Attempt to access invalid address"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以尝试 SpreadsheetGear ,它带有 Windows 窗体控件,提供查看、编辑、格式化、打印等功能... xls 和 xlsx 工作簿。 我们有许多客户由于各种原因从 DsoFramer 切换到 SpreadsheetGear。
SpreadsheetGear 具有工作簿集的概念,它是工作簿的集合,大致类似于 Excel 应用程序的实例。 工作簿集的数量仅受可用内存的限制。 它还具有 WorkbookView Windows 窗体控件。 您可以拥有多个 WorkbookView,并且默认情况下每个 WorkbookView 都有自己的工作簿集(如果您希望多个 WorkbookView 查看同一工作簿集,则可以覆盖此设置)。
您可以在此处了解有关 SpreadsheetGear 的更多信息并下载免费试用版。
免责声明:我拥有 SpreadsheetGear LLC
You might try SpreadsheetGear which comes with a Windows Forms control which provides the ability to view, edit, format, print, etc... xls and xlsx workbooks. We have a number of customers who have switched from the DsoFramer to SpreadsheetGear for various reasons.
SpreadsheetGear has the concept of a workbook set which is a collection of workbooks and is roughly analogous to an instance of the Excel application. The number of workbook sets is limited only by available memory. It also has a WorkbookView Windows Forms control. You can have multiple WorkbookViews, and each WorkbookView has it's own workbook set by default (you can override this if you want multiple WorkbookViews to view the same workbook set).
You can learn more about SpreadsheetGear and download the free trial here.
Disclaimer: I own SpreadsheetGear LLC
Office ocx 7没有这个问题。 它看起来像是一个增强版的 dsoframer,解决了 dsoframer 中存在的一些致命错误。
The office ocx 7 hasn't the issue. It seems like an enhanced version dsoframer and solved some fateful bugs existed in the dsoframer.