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

查看:17
本文介绍了拖动&直接从 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天全站免登陆