Drag & drop and get file path in VB.NET

Viewed 58435

I'd like to be able to drag a file/executable/shortcut into a Windows Forms application and have the application determine the original path of the dropped file then return it as a string.

E.g. drag an image from the desktop into the application and messagebox up the local path of the image.

Is that possible? Could someone provide me with an example maybe?

2 Answers
Related