Drag and drop of lotus notes email into WinForm application

Posted on 2009-02-20
Last Modified: 2013-12-18
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?
Question by:pgirardier
    LVL 96

    Assisted Solution

    by:Bob Learned
    I would start by examining the available formats from the Data object from the DragDrop event handler.

    IDataObject.GetFormats Method ()
    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.

    Open in new window

    LVL 46

    Accepted Solution

    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:

    And another example:

    Author Closing Comment

    Thanks a lot.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
    Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now