Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / August 2004

Tip: Looking for answers? Try searching our database.

Extract a bmp for the body

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Tissington - 04 Aug 2004 15:53 GMT
I have a journal entry that has a screen image (from ctrl + print screen)
pasted into it.

I need to extract this image (bmp) and save it as a file.

When I use the Outlook object model, I can see one attachment but it is not
a valid bmp file.

How can I extract this image and save it to disk?

Thanks.

Signature

Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

Dmitry Streblechenko \(MVP\) - 05 Aug 2004 23:04 GMT
You get an OLE attachment (PR_ATTACH_METHOD == ATTACH_OLE). You will need to
covert the IStorage data into a bitmap somehow...

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

> I have a journal entry that has a screen image (from ctrl + print screen)
> pasted into it.
[quoted text clipped - 7 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.