Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop File Attachments?
Message
De
17/03/1999 18:00:29
 
 
À
17/03/1999 07:35:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00198484
Message ID:
00198951
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform