How to use filegroupdescriptor to drag file to explorer c#
I would like to drag and drop an element of a listbox to explorer. When the drag and drop is started, I need to prepare the file on demand and save it to a memory stream. Can you provide me with an example on how to do it using the FileGroupDescriptor data structure? Thanks. Andrea you can find an example on how to do this here Transferring Virtual Files to Windows Explorer in C# ; also some good info on the topic here: Outlook Drag and Drop in C# In short what you have to do is to init the DataObject with FILEDESCRIPTOR (you can find its declaration details on pinvoke.net) structure(s) for