Re: OLE Attachment (Notes) File Format

From: ash (ash_at_discussions.microsoft.com)
Date: 07/29/04


Date: Thu, 29 Jul 2004 05:53:07 -0700

Mr. Smart Alexander,

I know that, but it's not my fault when this site is of usual microsoft quality -breaking a few times every day- and kept timing out or crashing when I was posting that message. Otherwise, why would you think everyone else would have the same IQ as you and think that posting a message 6 times (intentionally) makes any difference.

Next time, if you are unable to help, spare us with your smart comments please.

"Alexander Nickolov" wrote:

> Posting this 6 times in a row is rude you know...
>
> --
> =====================================
> Alexander Nickolov
> Microsoft MVP [VC], MCSD
> email: agnickolov@mvps.org
> MVP VC FAQ: http://www.mvps.org/vcfaq
> =====================================
>
> "Ash" <Ash@discussions.microsoft.com> wrote in message
> news:6AF73377-1744-4298-A83C-CC41EACC8D1A@microsoft.com...
> > Hi,
> >
> > I've been trying to use an OLE attachment file that is created from a
> great plains system on one of our clients systems in our new application.
> Basically what we need to do is to be able to fetch a JPEG image from that
> OLE file and show it to user in our web-based interface.
> > I've tried to hack into how the objects are stored in that file. I've
> managed to figure out how to handle different IStorage and IStreams in it.
> The problem is that there's a good few of them in the file, all with rather
> meaningless names, and I don't know what data type they contain and how to
> get to the one that contains the stream for the image (that's when using one
> image in the attachment only). The Great Plains program itself uses a
> program called contain.exe to deal with the attachment, which I believe is a
> generic ole container.
> >
> > Based on the above, can anyone let me know how can I read the contents of
> an unknown OLE format and extract the data i need from it? And does any one
> know anything particular about that type of OLE attachments?
> >
> > Any help would be appreciated, and apologies if it's an obvious question:
> I'm more of a Java person and am coming to microsoft world recently only!
> >
> > Cheers
> > Ashkan
> >
> >
> >
> >
>
>
>