Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dragging and dropping Outlook attachments
Message
From
07/02/2011 06:08:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Dragging and dropping Outlook attachments
Miscellaneous
Thread ID:
01498990
Message ID:
01498990
Views:
131
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
Next
Reply
Map
View

Click here to load this message in the networking platform