拖拽直接从 Web 应用程序中的 Outlook 删除 [英] Drag & Drop directly from Outlook in web app

查看:30
本文介绍了拖拽直接从 Web 应用程序中的 Outlook 删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题与我的问题有关:

I know this question is relating the same problem as mine :

但我正在寻找一种解决方法来实现从 Outlook 邮件到我的 web 应用程序的删除(目前只有 HTML5/JS 代码).

but I'm looking for a workaround to achieve a drop from Outlook message into my webapp (currently only HTML5 / JS code).

是否可以使用某些 activeX 将消息复制到临时文件系统文件夹中,然后使用此文件引用?我想知道不可靠性水平.

Is it possible, with some activeX, to copy the message in a temp filesystem folder and then use this file reference ? I would like to know the faisability level.

此外,我们可以使用 ActiveX 从 Jscript 调用 DLL 是否正确,例如:

Also, is it right that we can call a DLL from Jscript using ActiveX, like :

var obj = new ActiveXObject("ABCDll.testMethod");
var vResult = obj.TestMethod();
alert(vResult);

顺便说一句,如果有人有任何其他建议为任何文件(包括.来自 Outlook 的电子邮件(目前唯一不起作用的东西......)

BTW, if someone has any other suggestion to do a working Drag&Drop component (IE complient) for ANY files, incl. emails from Outlook (the only things that is not working for now...)

非常感谢您的任何意见.

Thanks a lot for any input.

推荐答案

您可以用 C++ 或 Delphi 编写一个浏览器帮助程序(用于 IE),它从 IE 检索当前的拖放处理程序并安装自己的处理程序.从 Outlook 拖动邮件时,您可以将其保存到临时文件夹,然后调用原始拖/放处理程序.处理程序返回后,可以删除临时文件.

You can write a browser helper (for IE) in C++ or Delphi that retrieves the current drag/drop handler from IE and installs its own handler. When a message is dragged from Outlook, you can save it to a temp folder, then invoke the original drag/drop handler. After the handler returns, the temporary file can be deleted.

我过去曾这样做过,而且效果很好.您可能想查看在 IE 中拦截拖放的 Google Gears 源代码(不再支持).

I have done this in the past, and it works fine. You might want to looks at the Google Gears source code (no longer supported) that intercepts drag/drop in IE.

这篇关于拖拽直接从 Web 应用程序中的 Outlook 删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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