我无法在Visual Studio 2008移动应用程序中添加Microsoft Office参考 [英] I can't add Microsoft Office Reference in Visual Studio 2008 Mobile Application
问题描述
我有问题.我已经开发了一些涉及Excel自动化的桌面应用程序,并且我很清楚如何添加Office库引用,创建Excel对象等.现在,我正在开发一个SmartDevice应用程序,该应用程序将在具有Windows Mobile 6.1的CellPhone中运行,并且我想从驻留在手机中的Excel文件中读取信息.问题是,当我尝试添加对Microsoft Office库的引用时,它在COM引用列表中不存在.如何使该库可用?
我正在Visual Studio 2008中使用Visual Basic.
有人可以帮我吗?
预先感谢您的任何想法.
Giovanni @ Guatemala
I have a problem. I have developed several desktop applications that involve Excel automation, and I am pretty aware of how to add Office Library References, create Excel objects, etc. Now, I am developing a SmartDevice application that will run in a CellPhone with Windows Mobile 6.1, and I want to read from an Excel file that will reside in the phone. The problem is, when I try to add a reference to the Microsoft Office Library, it doesn’t exist in the COM Reference List. How can I make this Library available?
I am using Visual Basic in Visual Studio 2008.
Can someone help me?
Thanks in advance for any ideas.
Giovanni @ Guatemala
推荐答案
您用于excel自动化的dll仅适用于台式机版本,不能将其用于移动应用程序.
据我所知,微软尚未发布移动自动化工具.
The dlls you are using for excel automation are only for the desktop version, you cannot use them for mobile applications.
As far as I know Microsoft has not released mobile automation tools yet.
这篇关于我无法在Visual Studio 2008移动应用程序中添加Microsoft Office参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!