创建.ics文件,添加到Outlook [英] Creating .ICS files, adding to outlook

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

问题描述

我创建一个简单的应用程序,允许用户下载.ics文件,并将它们导入到他们所选择的日历应用程序/网站。

我很高兴与创作过程中,但关于Outlook中打开他们的问题。
(将在C#,ASP.NET开发)

当我这样做开放的,它增加了一个新的日历,并没有事件添加到现有的日历。

时可以打开,并添加到现有的日历吗?
〔实施例从下面生成ICS文件(测试数据显然)

  BEGIN:VCALENDAR
版本:2.0
PRODID: - // hacksw / handcal // NONSGML V1.0 // EN
BEGIN:VEVENT
DTSTART:20100623T1101100Z
DTEND:20100623T1401400Z
摘要:英格兰VS斯洛文尼亚
位置:在南非的一些地方
END:VEVENT
BEGIN:VEVENT
DTSTART:20100624T1101100Z
DTEND:20100624T1401400Z
摘要:再次英格兰VS斯洛文尼亚(重播)
位置:在南非的一些地方
END:VEVENT
END:VCALENDAR


解决方案

要事件添加到现有的日历,首先你要保存的.ics文件,然后导入它,选择导入,而不是新在导入。

I am creating a simple application that will allow users to download .ICS files, and import them into their chosen calendar application/site.

I am happy with the creation process, but have a question regarding opening them in outlook. (will be developed in C#, ASP.NET)

When I do open one, it adds a new calendar, and doesn't add the events to the existing calendar.

Is is possible to open, and add to the existing calendar? Exmaple from a generate ICS file below (test data obviously)

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
DTSTART:20100623T1101100Z
DTEND:20100623T1401400Z
SUMMARY: England v Slovenia
LOCATION: Some where in South Africa
END:VEVENT
BEGIN:VEVENT
DTSTART:20100624T1101100Z
DTEND:20100624T1401400Z
SUMMARY: England v Slovenia again (replay)
LOCATION: Some where in South Africa
END:VEVENT
END:VCALENDAR

解决方案

To add events to an existing calendar, first you have to save .ics file and then import it, choosing Import instead of New while importing.

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

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