-
Jan 20th, 2014, 08:54 AM
#1
Thread Starter
Addicted Member
DragDrop attachments from outlook (2010) on a listview (or any other component)
I'm trying to understand if it's possible to support OleDragDrop attachments directly from outlook to our application.
The format's that are given aren't documented in any VB6 document.
There are 3 supported formats when I check the Data object during the OleDragOver event:
- -16110: Seems like ANSI version of the filename (at least that what I can understand from dumping the GetData(-16110) to a bytearray)
- -16109: Seems like Unicode version of the filename (at least that what I can understand from dumping the GetData(-16109) to a bytearray)
- -15691: ????? Don't know, as GetData(-15691) gives me the error "Specified format doesn't match format of data" or "Method 'GetData' of object 'IVBDataObject' failed" (depends if I first use GetFormat(-15691)).
Any idea if it's possible to get the actual data somehow?
-
Jan 20th, 2014, 12:33 PM
#2
Re: DragDrop attachments from outlook (2010) on a listview (or any other component)
Check out Ednamo's Get dropped attachments from Outlook messages sample here: http://www.mvps.org/emorcillo/en/code/vb6/index.shtml
-
Jan 20th, 2014, 06:24 PM
#3
Re: DragDrop attachments from outlook (2010) on a listview (or any other component)
I originally got some working code which I labelled 'ref Cees Verburg's code at http://www.developersdex.com/vb/mess...=640&r=6462813 however that link seems to have died.
A Google turned up this from the same author which at a glance looks pretty similar http://www.tech-archive.net/Archive/.../msg00977.html
Edit: Sorry the second link looks like an unsolved version.
Last edited by Magic Ink; Jan 20th, 2014 at 07:12 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|