如何在Vista上打开从WDS返回的mapi url [英] How to open mapi urls returned from WDS on Vista
问题描述
我使用以下C#代码打开通过WDS API获得的mapi url(System.ItemUrl元素).
I use following C# code for opening mapi urls (System.ItemUrl element) that I've got through WDS API. System.Diagnostics. System.Diagnostics.
info.UseShellExecute = true ;
info.UseShellExecute = true;
System.Diagnostics. 进程 res = System.Diagnostics. 处理 .开始(信息)
System.Diagnostics.Process res = System.Diagnostics.Process.Start(info)
在Windows XP和Windows Server 2003上可以正常使用,但会产生未指定的错误".在装有Outlook 2007的Vista上(使用Windows Mail可以正常工作).
This works fine on Windows XP and Windows Server 2003 but produces "Unspecified error" on Vista with Outlook 2007 installed (with Windows Mail it works fine).
有人可以解释一下如何在Vista上为Outlook打开此类网址吗?
Could someone explain me how to open such urls for Outlook on Vista?
为什么在Vista上更改了外壳打开动作的行为?
Why was shell open action behaviour changed on Vista?
谢谢
Anton.
推荐答案
此功能在Vista版本中已被打破.此问题已得到解决,已修复,将在以后的Vista更新发行版中提供.在Vista中,默认动词未正确返回.您可以通过直接在上下文菜单中查询打开"按钮来解决此问题.动词并调用命令.
This functionality was broken in the Vista release. This issue has been addressed and fixed and will be made available in a future vista update release. In Vista, the default verb is not returned correctly. You can work around this by querying the context menu directly for the "open" verb and invoking the command.
这篇关于如何在Vista上打开从WDS返回的mapi url的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!