Drop ListView Item into explorer folder

Hi, I have made a simple ftp client, and i would to add to my application Drag & drop capabilities. I have made with success a function for drop files from explorer to a listview, so i can upload a file or a folder in this way. But, for download functions, I must drag a file or a folder from a listview(in the listview i have the file list on ftp server) to the windows explorer (on the desktop for example), outside of my application window.

I can't find a valid and simple code to do this

Can anyone help me ? :-(
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hello  enumaelis, , as far as I can tell, there may not be a "Simple" way to code this, to do Shell Drag and Drop, I think you will need to do the shell Interfaces for Drag and Drop, not an easy thing to do correctly. . . I have used a Drag and drop component to do this sort of thing, you can find some good Drag and drop components at Torry web page -


I have used the   "Drag and Drop Component Suite v.3.7"   with good results, but there are several others there also

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
enumaelisAuthor Commented:
Hi, thanks for your answer :-)

I have already seen the "Drag and Drop Component Suite" (version 4), but I had some difficulties on use it, because the component that provides the drop function to Explorer wants as parameter an exsisting file on the disk, and so it can move this file to the destination. But if I drag an item from a listview (the remote file list) obviously I receive an error, because the component does'nt find the source file. It seems that there isn't a method to obtain from component, after the drop, the destination folder where I released the mouse button (so i could execute download in that folder).

Any idea ?
I can not understand what you are saying about the thing you want to do? ?  ?
If you want to use the "Shell" drag and drop for a File, then  I think (from what I know about it) that you will NEED an existing source file, that is accessible from a existing Disk,  when you do a Shell drag and drop, it tells the Recieving window that something has been dropped on that window, so you must initialize your Drag with the data that is being dragged, If you are dragging a File, then you set the Drag data to a File path and name, I know that the interface tells the drag sender some information about the drop destination, but I am not sure if that would help you,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.