How to extract file paths out of drag and drop event?

Posted by trismarck on Super User See other posts from Super User or by trismarck
Published on 2012-06-12T23:46:36Z Indexed on 2012/06/13 10:43 UTC
Read the original article Hit count: 212

Filed under:
|
|

I have this application that lists files in a WindowsForms listbox (NET framework). The application does not support the copy operation if multiple files are selected in the listbox, but at the same time, the application supports 'drag and drop' event for multiple files (allows dragging the files 'out of the application').

How can I extract the paths of the files 'dragged out of the application'? (i.e. I drop the files on some program / script that shows me the paths / saves the paths to a txt file).

© Super User or respective owner

Related posts about windows-xp

Related posts about file