Extract a bmp for the body

  • Thread starter Thread starter Michael Tissington
  • Start date Start date
M

Michael Tissington

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.
 
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
 
Back
Top