Drag n Drop an attachment from Outlook into a Region or Listbox control

So Drag n Drop from File explorer is easy - I followed the help and all is well, however that only works if the file has already been saved.

I would like to go straight from the Outlook attachment and Drag n Drop the attachment onto the Region or Listbox. This will then trigger the Event:Drop where I will save the file and update the file record with the filename.

Any pointers on how to do this would be appreciated.

Carl
IT Mates

To access the first file selected from outlook attachments you would need to enumarate clipboard contents then get FileContents and FileGroupDescriptor

To access the rest if there are more, you would need a special interface.

Pointers here

Federico

1 Like