Re: Where happens to OLE attachments?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 06/02/04


Date: Wed, 2 Jun 2004 14:19:57 -0700

The current version of Redemption does not returns the embedded OLE objects
in the RTFBody property, I plan this for the next version.
As for the HTML messages, no, OLE attachments can only appear in the RTF
messages.

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

"Josh Orfanakis" <gorfanakis@comcast.net> wrote in message
news:gorfanakis-5A07FA.15035302062004@comcast.dca.giganews.com...
> In article <OXzB12KSEHA.3944@tk2msftngp13.phx.gbl>,
> "Dmitry Streblechenko \(MVP\)" <dmitry@dimastr.com> wrote:
>
> Saving as MSG is our fall back behavior right now. The problem is that I
> have to send the result of this to another application to generate a
> TIFF image. This application has some issues with MSG files. If I have
> to save as MSG I have to use a TIFF print driver and printOut from
> Outlook which is not optimal for our purposes either.
>
> However our main image application handles RTF just fine, so I was
> hoping to generate an RTF with the OLE items that it can more correctly
> render.
>
> You mention the place holders are present in the RTF where the OLE
> objects go. So is it possible to save these OLE objects in such a way
> that the RTF can reference them outside of Outlook and/or the MSG?
>
> I wasn't hoping to generate HTML I was just curious if I may run into
> HTML messages with OLE type attachments. I haven't seen any but I was
> trying to plan for future challenges if need be.
>
> Thank you, again DS
>
> JO
>
> > RTF only stores the placeholders where the actual data from the OLE
storage
> > (attachments) wil be placed when the message body is displayed. Did you
try
> > to save in the MSG format? There is no easy way to convert to HTML as
the
> > COM server responsisble for the embedded OLE object would have to render
the
> > object as a bitmap, then you'd need to convert RTF to HTML, etc. Note
that
> > even Outlook will not let you save an RTF message in the HTML format.
> >
> > Dmitry Streblechenko (MVP)
> > http://www.dimastr.com/
> > OutlookSpy - Outlook, CDO
> > and MAPI Developer Tool
> >
> >
> > "Josh Orfanakis" <gorfanakis@comcast.net> wrote in message
> > news:gorfanakis-443BE5.19060801062004@comcast.dca.giganews.com...
> > > I have several messages with attachments of type OL::olOLE. I am
trying
> > > to generate a customized RTF version of these messages. I have used
> > > Redemption RTFBody to get the body of the message but the ole items
are
> > > gone.
> > >
> > > As attachments they don't appear to be able to be saved.
> > >
> > > So what can I do to preserve these items embedded in this message?
> > >
> > > Does the PR_RTF_COMPRESSED property contain the attachments somehow?
> > >
> > > Can these types of attachments appear in HTML formatted messages?
> > >
> > > TIA
> > > JO
> > > gorfanakis@comcast.net



Relevant Pages

  • Re: Where happens to OLE attachments?
    ... Saving as MSG is our fall back behavior right now. ... However our main image application handles RTF just fine, ... You mention the place holders are present in the RTF where the OLE ... HTML messages with OLE type attachments. ...
    (microsoft.public.win32.programmer.messaging)
  • (BCB)Text with graphics on the form
    ... I need to put some text with graphics, maybe OLE (rtf or ... html) on the form and I've no idea how can I do it. ...
    (comp.programming)
  • Re: Powerpoint/Word 2008 sound issue
    ... welcome to the wonderful world of OLE objects. ... OLE is a feature of Windows. ... On the Mac, Microsoft Office has implemented limited support for OLE. ...
    (comp.sys.mac.apps)
  • Re: Assumptions regarding a new post!
    ... > People can lament the loss of the "good ole days," but maybe the good ole ... >>> about posting in HTML, ... >> the Usenet community. ...
    (microsoft.public.windowsxp.basics)
  • Re: How to get embedded OLE objects out
    ... There are several ways to store images in OLE Object fields. ... The main alternatives are to work with images in the filesystem, or images in the database (as raw-binary/blob ... Some additional info on OLE Embedding vs raw-binary/blob storage is available here: ... Image Handling Components, Samples, Solutions and Info DBPix 2.0 - lossless jpeg rotation, EXIF, asynchronous "Aaron" wrote:>The database I am working with has lot's of graphic files embedded in the>database as OLE objects. ...
    (microsoft.public.access.macros)