Note that there are some explanatory texts on larger screens.

plurals
  1. PODrag & Drop from Form to Windows; get drop destination
    primarykey
    data
    text
    <p>I have been developing an app in VB.NET which requires a control object (for example, a ListViewItem) to be dragged out of the form, and to a user-specified location (for example, on the desktop, or in a folder).</p> <p>However, The file that is intended to be 'copied', as the 'ListViewItem' represents, does not yet exist. It needs to be downloaded and then placed in the user specified location. Am I able to get the path/location of the destination drop? I would then proceed to download the file, and then place it where the use specified.</p> <p>I have looked at other questions regarding a <a href="https://stackoverflow.com/questions/1935925/drag-drop-of-a-dynamically-created-shortcut">similar issue</a>, which details the dragging operation outside the form, its just there doesn't appear to be a way to determine where that short cut went or how to flag the destination location.</p> <p>Essentially, I am thinking that it may require some sort of 'dynamic link' or 'virtual file' as I've seen mentioned elsewhere. Then, after the drop operation, somehow accessing this 'link' from my application, proceed to download the file and place it in the final drop destination.</p> <p>Any help is appreciated, thanks in advance!</p> <p><br /> <strong>OUTCOME:</strong></p> <p>Roger Lipscombe provided a link that contained links to other articles, with what looks to be promising information. The following links may prove useful in implementing a drag drop operation without providing the exact data that is required in managed code.</p> <ul> <li><a href="http://blogs.msdn.com/delay/archive/2009/10/26/creating-something-from-nothing-developer-friendly-virtual-file-implementation-for-net.aspx" rel="nofollow noreferrer">Delay's Blog; Creating something from nothing</a></li> <li><a href="http://blogs.msdn.com/delay/archive/2009/11/04/creating-something-from-nothing-asynchronously-developer-friendly-virtual-file-implementation-for-net-improved.aspx" rel="nofollow noreferrer">Delay's Blog; Creating something from nothing, asynchronously</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload