PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Extract a bmp for the body
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Extract a bmp for the body
![]() |
Extract a bmp for the body |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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. -- Michael Tissington http://www.oaklodge.com http://www.tabtag.com |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 "Michael Tissington" <michael@nospam.com> wrote in message news:O57lTLjeEHA.596@TK2MSFTNGP11.phx.gbl... > 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. > > -- > Michael Tissington > http://www.oaklodge.com > http://www.tabtag.com > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

