简体   繁体   English

使用c#.net从Outlook检索数据

[英]Retrieve data from outlook using c#.net

I am trying to access tasks from a task manager type program, that will allow for tasks to be imported from outlook and displayed visually on screen. 我正在尝试从任务管理器类型的程序访问任务,该程序将允许从Outlook导入任务并在屏幕上直观显示。

I can display the task, but am having trouble retrieving any task out of outlook. 我可以显示任务,但是无法从Outlook中检索任何任务。

How can this be resolved? 如何解决?

Thanks, 谢谢,

Tom 汤姆

If you connect your Outlook client to Microsoft Exchange Server you can access it's task list through webDAV. 如果将Outlook客户端连接到Microsoft Exchange Server,则可以通过webDAV访问它的任务列表。

See this forum thread: http://objectmix.com/microsoft-exchange/269091-exchange-tasks-list-webdav.html 请参阅此论坛主题: http : //objectmix.com/microsoft-exchange/269091-exchange-tasks-list-webdav.html

如果您从MS Office软件包中询问有关MS Outlook的信息,则可以通过自动化完成此操作,请参阅http://msdn.microsoft.com/zh-cn/library/aa210897(v=office.11​​).aspx

Check out Visual Studio Tools for Office . 查看Office的Visual Studio工具 It's a .NET library that allows easy integration with all Office components. 这是一个.NET库,可以轻松集成所有Office组件。 It's the easiest way to do it from .NET. 这是从.NET执行此操作的最简单方法。

Found this tutorial 找到了本教程

http://geekswithblogs.net/TimH/archive/2006/05/26/79720.aspx http://geekswithblogs.net/TimH/archive/2006/05/26/79720.aspx

Worked well and found each of the different parts of each task usig the autocomplete within visual studio. 运行良好,发现每个任务的每个不同部分都在Visual Studio中使用了自动完成功能。

Thanks all for your help 感谢你的帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM