我可以从Metro应用程序以编程方式访问Outlook [英] Can I programmatically access Outlook from a metro application

查看:64
本文介绍了我可以从Metro应用程序以编程方式访问Outlook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我阅读有关metro的各种文档的方式我无法从Metro访问ActiveX,因此无法获得Outlook的界面。 我可能会在文档中遗漏某些内容,因此感谢任何帮助。 如果我不能,那么我认为Metro是
致命的缺陷。 很多应用程序需要访问联系人,安排活动,邮件存储等等,我认为微软会希望我们使用OL(并通过它)而不是GMail的REST API,这是地铁运行时非常方便的
访问!

解决方案

如你所说"无法访问ActiveX"。出于安全原因,这是Metro Apps的设计。您甚至无法使用HTML或Silverlight来使用HTML5 / JavaScript Metro应用程序。目前没有通过WinRT公开的共享联系人或电子邮件API。我很好奇
他们将如何处理平台。


您可以编写自己的Web服务,公开必要的功能并从您的应用程序中使用该服务。


The way I read the various documentation on metro I can't access ActiveX from Metro and hence can't get an interface to Outlook.  I could be missing somehting in the documentation so any help is appreciated.  if I can't then I think Metro is fatally flawed.  Lots of apps need to access contacts, schedule events, mail stores and the like and I would think Microsoft would want us to be using OL (and through it Exchange) rather than GMail's REST APIs, which the metro runtime makes very convenient to access!

解决方案

As you stated "can't access ActiveX". This is by design for Metro Apps for security reasons. You can't even use Flash or Silverlight wihin a HTML5/JavaScript Metro App. There currently isn't a shared Contact or Email API exposed through WinRT. I am too curious how they will handle this with the platform.

You could write your own web service that exposes the necessary functionality and consume that service from your app.


这篇关于我可以从Metro应用程序以编程方式访问Outlook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆