Just a quick thank-you to Ted for his article on Automating Outlook or in fact 
a very important little part of it:

http://www.tedroche.com/Present/2003/OutlookAutomation.html

My problem was that I needed to drag and drop email attachments from outlook 
onto a VFP application and save the binary data of the attachments for 
processing by VFP. IN the existing app everyone had to drag the attachment onto 
their desktop and then drag it from there onto the VFP app. Now I can list drag 
the Email onto the VFP app and it automatically opens the attachments and 
processes them automatically.

Part of Ted's article set the old brain ticking as he confirmed that OLE 
Drag/Drop from Outlook only supports the Text data type. I was trying to get 
actual attachments from outlook via Drag/Drop and this just doesn't work so I 
had nearly given up hope. Ted's suggestion of dragging the Email and then 
opening up outlook and drilling down into the SelectedItem or "Selection" 
property  via the outlook objectmodel meant that I could do it without much 
trouble.

Thanks again Ted and if anyone wants to do the same then I'll post an example 
up on the Profox list.

Dave


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to