Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. DragDrop from application to Windows Explorer

DragDrop from application to Windows Explorer

Scheduled Pinned Locked Moved C#
algorithmsdata-structuresquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    atregent
    wrote on last edited by
    #1

    I'm developing an application that has some document management functionality, with a folder structure displayed in a treeview. I can quite happily drag the treeview nodes around to re-order them, and drag folders and files into the tree from windows explorer. That bit was easy. I'd also like to be able to drag folders (treeview nodes) out of my application and drop them into an explorer window. I've tried searching for a solution, but only come up with dragging things into my treeview, not out. Can someone point me in the right direction? Cheers, Anthony.

    M 1 Reply Last reply
    0
    • A atregent

      I'm developing an application that has some document management functionality, with a folder structure displayed in a treeview. I can quite happily drag the treeview nodes around to re-order them, and drag folders and files into the tree from windows explorer. That bit was easy. I'd also like to be able to drag folders (treeview nodes) out of my application and drop them into an explorer window. I've tried searching for a solution, but only come up with dragging things into my treeview, not out. Can someone point me in the right direction? Cheers, Anthony.

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      You may take a look at this article. http://www.codeproject.com/csharp/dragdrop.asp I haven't tried to do like that in C# but I have done in VB6 so I'm sure that you will be able to do that in C# too.

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups