>Is there a way to drag a file from Windows Explorer (or desktop), then drop it on a VFP control (i.e. a Grid control) so as to be able to get the filename (with complete path) to store it in a VFP table?
>Thank in advance.
>Bruno Maddalozzo
Hi Bruno,
See VFP Help about OLE Drag & Drop. This can be used to drag from/to Explorer, using the CF_FILES (aka CF_HDROP = 15) format. There's a Solutions Sample example entitled something like "OLE Drag and Drop Data Formats", which you would probably find very helpful.
Mike