Outlook Redemption内联弹出窗口不弹出

时间:2017-01-29 23:21:25

标签: outlook-addin outlook-redemption outlook-2016

我一直在我的应用程序中使用Outlook Redemption的ActiveInlineResponsePopOut方法。根据我得到的反馈,该方法似乎适用于大多数Outlook 2016的安装。但是,在某些机器上,该方法不起作用(即,邮件项目不会弹出),我将得到以下异常:

>Exception type: System.Runtime.InteropServices.COMException
>Message: Could not find the toolbar control
>Source: redemption.SafeExplorer
>StackTrace: at Redemption.ISafeExplorer.ActiveInlineResponsePopOut()

从我可以收集的内容来看,问题似乎始于Outlook 2016版本16.0.7571。早期版本的Outlook 2016(32位和64位)似乎工作正常。

还有其他人也见过这种行为吗?有没有解决办法?

1 个答案:

答案 0 :(得分:0)

OutlookSpy执行以下脚本没有问题(确保内联响应处于活动状态,单击OutlookSpy工具栏上的“脚本编辑器”按钮,粘贴脚本,单击“运行”)。我使用的是Outlook 2016 16.0.0.7766。

set sExplorer = CreateObject("Redemption.SafeExplorer")
sExplorer.Item = Application.ActiveExplorer
sExplorer.ActiveInlineResponseDiscard