Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dragging and dropping Outlook attachments
Message
De
07/02/2011 06:08:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Dragging and dropping Outlook attachments
Divers
Thread ID:
01498990
Message ID:
01498990
Vues:
132
I am wondering if anyone out there has cracked this - I am trying to allow users to drag and drop attachments onto a VFP control (or a MS Treeview control). I can see the file being dropped using the following code in the OleDragDrop event:
cFileData = oDataObject.GetData("FileGroupDescriptor")
This gives the file name of the dropped file (at byte 77). However I can't seem to get the file contents. A C# example I found gives the next step:
cFileContents = oDataObject.GetData("FileContents")
But this just returns false in VFP. If anyone has resolved this I would be very grateful for assistance.

Regards,

Dominic
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform