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
 
Top