Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7926041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:34:35+00:00 2026-06-03T18:34:35+00:00

I have a document control system that is written in C#. Drag and drop

  • 0

I have a document control system that is written in C#. Drag and drop from Outlook to C# has been done for some time. Now that many of the files are in the C# application, the users naturally want to be able to drag and drop in the other direction from my document control system to Outlook.

Since the files are stored in a file system (and not as blobs in the SQL database) I have had them open the folder view and drag and drop from there. However, this allows for the bypassing of the document management system’s version control.

Is there a drag and drop message I can construct that will notify Outlook of the filename and path I’m dropping? I suspect this has been done, but my searches are being overwhelmed by the number of responses going the other direction.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T18:34:39+00:00Added an answer on June 3, 2026 at 6:34 pm

    From here:

    http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/f57ffd5d-0fe3-4f64-bfd6-428f58998603/

    //put the file path is a string array
    string[] files = new String[1];
    files[0] = @"C:\out.txt";
    
    //create a dataobject holding this array as a filedrop
    DataObject data = new DataObject(DataFormats.FileDrop, files);
    
    //also add the selection as textdata
    data.SetData(DataFormats.StringFormat, files[0]);
    
    //do the dragdrop
    DoDragDrop(data, DragDropEffects.Copy);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a System.Windows.Forms webbrowser control that is not firing the keydown events. Here
Picture the following situation. I have an XML document as follows, <Form> <Control Type=Text
I want to have a custom control that works on whatever documents I decide
I have a document library in MOSS 2007 which has folders and files. Document
I have a document-based Core Data app. My main Core Data entity has several
I have a document that I want to be flipped / rotated 180 degrees
I have a document that looks something like <root> <element> <subelement1 /> <subelement2 />
I have a document management system which creates a report showing people who own
I have a simple little application that performs some analysis of all our corporate
My application has a ListView control that has data added to it across several

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.