Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag'n'drop from Outlook into Listview
Message
From
03/07/2018 14:35:37
 
 
To
03/07/2018 07:52:39
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
MS SQL Server
Miscellaneous
Thread ID:
01661012
Message ID:
01661020
Views:
47
>>>>I have a MSComctlLib.ListViewCtrl.2 i.e. a listview which accepts files dropped from FExplorer or TotalCommander - everything's fine, I can even catch multiple files, everything's fine.
>>>>
>>>>Now there's a request to accept files dragged and dropped from Outlook. I don't even know whether it has its own filesystem, or they mean attachments to emails. I tried to compose a draft message and add a .jpg to it, and when I drag that to my listview, I get the no-parking icon, i.e. it doesn't accept the object. Perhaps Outlook doesn't consider an attachment to a draft message a proper attachment? But it does show it.
>>>>
>>>>I have OleDropMode=1, oleDragMode=0 and some code n OleDragDrop() to accept the object and copy the file(s) where they should go.
>>>>
>>>>Is there some way to make this work?
>>>
>>>I don't know the answer without testing, but try using DEBUGOUT in OLEDragOver and OLEDragDrop to see what parameters they're receiving.
>>
>>Found hints to that at http://fox.wikis.com/wc.dll?Wiki~OutlookDragDrop, with some interesting code.
>>
>>Outlook seems to be yet another kludge-on-kludge (20+ years of accumulation) that's typical for that publishing house, but at least the Fox community finds ways around it.
>>
>>Debugging is in progress...
>
>...and it's getting me nowhere. The oleDragOver() doesn't even fire.

Try using Event Tracking to see what, if anything, fires.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform