Drag and drop a message.

D

Don

I am trying to drag and drop a message from Outlook to a Winform. When I
drop the message on the form I attempt to get the contents of the message
using the following.

MemoryStream ms = (MemoryStream) e.Data.GetData("FileContents",true);

However this does not allow me to obtain a pointer to the data. The
MemoryStream is null when I execute this statement.

My question is; how do I get at the contents of an outlook mail message
during a drag drop operation.

Darel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top