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