>Hi,
>
>I am working on the code that was kindly submitted by Antonio and Yousfi. And I want to confirm that my understanding of how it works is correct, of the following.
>
>If the method OLEDragDrop of the Form has code (that process the dropped file), this method only fires when a file/dropped on the "not used" area of the form (that is the area of the form which has not textboxes, labels, etc?
>That is, if you drop a file on a textbox or a container on the form, the method does not fired (as if the textbox or a container is "blocking" the drop event). Is this correct?
Yes, it is.
If you want to / need to, you may set the control's OleDropMode property to 2, in which case the Drag&Drop processing passes to the container (in your example, from the textbox to the form).
----------------------------------
António Tavares Lopes