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

**URL:** <https://clarionhub.com/t/drag-n-drop-an-attachment-from-outlook-into-a-region-or-listbox-control/6044>\
**Category:** questions\
**Tags:** com, email\
**Created:** [March 15, 2023, 12:06pm UTC](https://clarionhub.com/t/drag-n-drop-an-attachment-from-outlook-into-a-region-or-listbox-control/6044 "2023-03-15T12:06:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlitm](https://clarionhub.com/letter_avatar_proxy/v4/letter/c/6bbea6/32.png) [@carlitm](https://clarionhub.com/u/carlitm)\
**Post date:** [March 15, 2023, 12:06pm UTC](https://clarionhub.com/t/drag-n-drop-an-attachment-from-outlook-into-a-region-or-listbox-control/6044/1 "2023-03-15T12:06:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![FedericoNavarro](https://clarionhub.com/letter_avatar_proxy/v4/letter/f/2acd7d/32.png) [@FedericoNavarro](https://clarionhub.com/u/FedericoNavarro)\
**Post date:** [March 15, 2023, 12:32pm UTC](https://clarionhub.com/t/drag-n-drop-an-attachment-from-outlook-into-a-region-or-listbox-control/6044/2 "2023-03-15T12:32:00Z")

</div>

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

> [@Using CLIPBOARD to store and later paste a list of files/attachments](https://clarionhub.com/t/using-clipboard-to-store-and-later-paste-a-list-of-files-attachments/5686):
>
> Good morning Requirement: We need to find some way of using the Clarion CLIPBOARD() function to store a group of files, rather than text, and we’re going to click a button to paste these files to a specified location. We know that the clipboard function can be used to store simple text and perhaps other things depending on the parameter - see below for the Clarion Help list of parameters. However, can the Clarion clipboard function be used to store and then subsequently access this list of fil…

Federico
