473,396 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Drag and Drop Outlook Mail Message

I want to be able to drag and drop an Outlook mail message (Outlook 2003)
onto a windows form (C# 2003) so that my application can then save the file
(in the same was as if I were to drag and drop on the desktop). Anyone able
to help me with how to achieve this?
Jun 9 '06 #1
3 4032
Yes, use the standard Drag and Drop events for the control which should
accept them.

The problem that you'll run into is that you can't get the body or
attachemtns for the email.

The only way to get that data would be to write a plugin for outlook.

HTH
Andy

daveward10 wrote:
I want to be able to drag and drop an Outlook mail message (Outlook 2003)
onto a windows form (C# 2003) so that my application can then save the file
(in the same was as if I were to drag and drop on the desktop). Anyone able
to help me with how to achieve this?


Jun 9 '06 #2
So no way that you know of to "Save As" the dragged item and persist to an
Outlook Item file (.msg)?

"Andy" wrote:
Yes, use the standard Drag and Drop events for the control which should
accept them.

The problem that you'll run into is that you can't get the body or
attachemtns for the email.

The only way to get that data would be to write a plugin for outlook.

HTH
Andy

daveward10 wrote:
I want to be able to drag and drop an Outlook mail message (Outlook 2003)
onto a windows form (C# 2003) so that my application can then save the file
(in the same was as if I were to drag and drop on the desktop). Anyone able
to help me with how to achieve this?


Jun 9 '06 #3
Programattically,

No, the only way I know would be for the user to do the save as.

Andy

daveward10 wrote:
So no way that you know of to "Save As" the dragged item and persist to an
Outlook Item file (.msg)?


Jun 12 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Karsten Schramm | last post by:
Hi, if I drag an Outlook.MailItem to a Windows-Explorer window a <subject>.msg file will be created. Now I try to drag & drop a mail item to my own WinForm app. Unfortunately it doesn't work....
9
by: Wang, Jay | last post by:
Hello, all, I would like to enable some text between <SPAN url="http://www.testserver.com/">WORD TO BE DRAGGED </SPAN>. I put some javascript and it will extract http://www.testserver.com/ from...
8
by: WindAndWaves | last post by:
Hi everyone, Has anyone got any experience with drop and drag in Access? I would like to make a calendar style form where my users can drop and drag appointments.... I am using Access 2003...
0
by: Richard | last post by:
Hi, I'm trying to do drag-n-drop from MS Outlook onto a C# form. I'm just proving a concept for management here so we don't need to get fancy; assume I'm dropping an Outlook e-mail message...
7
by: Johann Wagner | last post by:
Hello! I want to drop an email in my C# application. I get the drop event and the dataobject. But i cannot interpret the data in the dataobject. So i cannot get the email. I have found a code...
1
by: BVM | last post by:
Hi: I want to drag a mail item from Outlook and drop it in to a listbox. Then the listbox will display the name of the mail item. However this code string files =...
4
by: kemal asad | last post by:
how can i create a vb application where i can drag and drop ( with a move caracteristic) email from outlook, into my application( email viewer). thanks, any help is welcome, samples a great way of...
6
by: David Anderson | last post by:
Does anyone know how to drag&drop a message with attachments from Outlook (2002 or 2003) in to a VB.Net windows form. This is really stumping me. I've spent a fair amount of time trying to find a...
4
by: SStory | last post by:
I want to drag a message from Outlook to a richtextbox on a vb.net form. I don't get the message body. I have searched all over the place and found nothing. Does anyone know how to do this? I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.