Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop File Attachments?
Message
From
17/03/1999 18:00:29
 
 
To
17/03/1999 07:35:25
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00198484
Message ID:
00198951
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform