Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1507
  • Last Modified:

Drag and drop of lotus notes email into WinForm application

One of my c# app. give the possibility to drag and drop a outlook email into awinform application. Now some clients want it on Lotus Notes. I want to be able to get the content (title, message, attachments) of a lotus notes email dropped into a c#application... any idea?
0
pgirardier
Asked:
pgirardier
2 Solutions
 
Bob LearnedCommented:
I would start by examining the available formats from the Data object from the DragDrop event handler.

IDataObject.GetFormats Method ()
http://msdn.microsoft.com/en-us/library/1745023c(VS.80).aspx
private void GetFormats1() 
{
    // Creates a data object using a string and the Text format.
    DataObject myDataObject = new DataObject(DataFormats.Text, "My text string");
 
    // Gets all the data formats and data conversion formats in the data object.
    String[] allFormats = myDataObject.GetFormats();
 
    // Creates the string that contains the formats.
    string theResult = "The format(s) associated with the data are: " + '\n';
    for(int i = 0; i < allFormats.Length; i++)
        theResult += allFormats[i] + '\n';
    // Displays the result in a message box.
    MessageBox.Show(theResult);
}

Open in new window

0
 
Sjef BosmanGroupware ConsultantCommented:
No drag-drop to external applications is available in Notes, sorry. But there are lots of ways to get to your mail content, from Notes and from outside Notes.

Here's an (older but probably still working) example:
http://www.vbforums.com/archive/index.php/t-272419.html

And another example:
http://www.experts-exchange.com/Q_23332012.html
0
 
pgirardierAuthor Commented:
Thanks a lot.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now