将事件添加到Outlook日历 [英] Adding events to Outlook Calendar

查看:122
本文介绍了将事件添加到Outlook日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

     我有一个要求,我需要在outlook日历中添加一些事件,我按照以下方式进行操作

     I Have a Requirement where i need to add some events to outlook calender and i am doing it in the following way

               输入outlookType = Type.GetTypeFromProgID(" Outlook.Application",true);

                if(outlookType!= null)

                {

               Type outlookType = Type.GetTypeFromProgID("Outlook.Application", true);
                if (outlookType != null)
                {

}

通过上面的代码,该事件将从我的开发环境中添加到我的Outlook日历中。当我在服务器上托管代码时,它给我NULL引用错误。

By the above code the event is getting added in my Outlook calendar from my development environment. And when i hosted the code on server its giving me NULL reference Error.

我的问题是 

MY Question is 

1)我们需要Outlook或必要的DLL吗?还要安装在服务器上吗?

1) Do we need Outlook or necessary DLL's to be installed on the server too?

2)如果不需要更改什么?

2) If No what needs to be changed?

问候,Dillu

推荐答案

我将把它转移到开发Apps for Office论坛,因为我们专注于Office.com/Store。如果您没有为Office构建应用程序,您可能需要查看
Outlook for Developers 论坛。

I'm going to move this to the Developing Apps for Office forum as we are focused on the Office.com/Store. If you are not building an app for Office, you may want to check out the Outlook for Developers forum.

谢谢,

Jes Brown

Jes Brown


这篇关于将事件添加到Outlook日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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