拖曳直接从Outlook在网络应用程序中删除 [英] Drag & Drop directly from Outlook in web app

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

问题描述

我知道这个问题与我的问题是一样的:

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

  • Upload fails when user drags and drops attachment from email client

但是我正在寻找一种解决方法来实现从Outlook消息到我的webapp(目前只有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);

如果有人有任何其他建议来做一个有效的拖放组件(IE complient)任何文件,包括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...)

非常感谢任何输入。

推荐答案

您可以在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.

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

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