admin管理员组文章数量:1292753
I want to be able to accept a drag/drop of a file attachment from New Outlook (i.e. not the Classic Outlook app) to my VB app. I've successfully done this with drag/drop from Classic Outlook and File Explorer it's well documented how to do this.
From what I have researched New Outlook, being a web app, wants to transfer the file as an asynchronous stream and the "drop" event is an invitation to set that up rather than containing the file at the time.
In the DragDrop event the formats listed via e.Data.GetFormats()
are:
DragContext
DragImageBits
chromium/x-renderer-taint
FileDrop
FileNameW
FileName
Chromium Web Custom MIME Data Format
None of these seems to contain anything useful that I can figure out - many of them seem to be "Null" and cause an error in my usual code which handles File Explorer drops.
The key seems to be the "Chromium Web Custom MIME Data Format" item. But after several days of research I can find nothing very helpful, in any language, about how to deal with this.
Given the current push to move people New Outlook, this is bound to be something that will come up more often soon I imagine!
Any thoughts?
David
If I attempt to extract data from any of the formats they seem to be Null, with the exception of chromium/x-renders-taint which contains the text ";.
If I break the application and try the browse these items with object explorer Visual Studio also doesn't seem to be able to find anything that looks useful in the properties.
本文标签: Handle dragdrop attachment from New Outlook to vbnet applicationStack Overflow
版权声明:本文标题:Handle dragdrop attachment from New Outlook to vb.net application - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741562763a2385543.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论