This is a migrated thread and some comments may be shown as answers.

Drag'n'Drop mail attachment

2 Answers 222 Views
Form
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Veteran
Marc asked on 26 Feb 2018, 01:52 PM

Hello,

I need help.

I allowed to drag files to my application, via Drad'n Drop. Files from filesystem works without any problem, but I can't an attachment directly from outlook. Is there any solution for my problem?

I don't want to store the whole mail, only one attachment.

 

Kind regards

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Feb 2018, 01:38 PM
Hello, Marc, 

Thank you for writing.  

Drag and drop functionality from any external source to a WinForms application can be usually achieved by the OLE drag and drop behavior: https://docs.microsoft.com/en-us/dotnet/framework/winforms/advanced/walkthrough-performing-a-drag-and-drop-operation-in-windows-forms

Dragging files from outlook to a WinForms application is a general programming question. It is suitable to have a look at the respective forums like StackOverflow and MSDN for further information:
https://stackoverflow.com/questions/68598/how-do-i-drag-and-drop-files-into-an-application
https://www.codeproject.com/Articles/7140/Drag-and-Drop-Attached-File-From-Outlook-and-ab
https://www.codeproject.com/Articles/28209/Outlook-Drag-and-Drop-in-C
https://stackoverflow.com/questions/8709076/drag-and-drop-multiple-attached-file-from-outlook-to-c-sharp-window-form

I hope this information helps. Should you have further questions I would be glad to help. 
 
 Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Marc
Top achievements
Rank 1
Veteran
answered on 01 Mar 2018, 01:05 PM

Hey Dess,

thank you for your answer. I'll looking forward to use the new information for my project.

 

Kind regards

Tags
Form
Asked by
Marc
Top achievements
Rank 1
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Marc
Top achievements
Rank 1
Veteran
Share this question
or