>I'm working on a system that needs to store attachments against records. I have already created a 'select file' button to add files, but I want to add a OLE drag and drop control so that users can drop files (and emails from Outlook) to attach them.
>
>The attached files are kept in an attachment directory, linked with a look up table.
>
>Any help from anyone who's done this before would be greatly appreciated (as per usual).
>
>Regards
>Colin Thomas
You probably want to aim this question at JimB. I remember him saying that you can get a set of file handles from the oDataObject by using something like
oDataObject.getFormat(CF_FILES, @laFiles)
but when I tried to get it to work, I couldn't find an object that would enable itself for that OLE type. The help on OLE drag and drop lists the types that are available for eah control, and CF_FILES (15) was not available for any runtime controls.
Erik Moore
Clientelligence