Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook attachment
Message
 
To
26/12/2006 08:41:49
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01179869
Message ID:
01181050
Views:
15
This message has been marked as the solution to the initial question of the thread.
Hi Tracey,

Thanks for the lead. Accomplished my task without leaving Outlook using almost the same technique.

After instantiating the Outlook object in the usual fashion, I also used the "SaveFileAs" method to save the enclosed .MSG file to a temp folder. Then by creating another object, oMsg2, by calling the "CreateItemFromTemplate" method using the saved .MSG file as the template, I was able to get to the second attachment using the ".item(1).attachment" and save it to my target folder as a text file, which is what it was.

Thanks again and Happy New Year.
Vince
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform