MarkWillsUK
Technical User
Hello. This is my first post to this forum!<br><br>I have an application that plays WAV files (amongst other things). I would like to be able to drag a file from windows explorer, or, maybe a window that was opened from 'my computer' etc to my application and have my application determine the path and filename of the the file that was dropped onto my application.<br><br>Does anyone know how to accomplish this?<br><br>I have looked in the on-line help for VB5, but the inference is that only objects from within the SAME FORM may be dragged and dropped on-top of each other. Yet, we all know that many programs allow files to be dropped onto them, a technique that goes way back to Windows 3.1!<br><br>So, could someone provide some example code that, when a file is dropped onto a form, a message box opens displaying the path/filename of the item that was dropped.<br><br>Many thanks in anticipation of any help!<br><br>Yours,<br><br>Mark Robert Wills<br>(Father of three, trying to learn programming!)<br>