OLE structured storage
Hi.
Does anyone know how to save file in OLE structured storage (like Word, Excel,
etc). I know I have to use IPropertySetStorage interface, but there' s no
way to access it from VB. Microsoft has a unsupported component dsfile.dll
that can read and change properties of document that's already been saved
in OLE structured storage, but I get an error if I try to open a plain file.
So if anyone knows of a component that encapsulates that interface, if you
know of the alternate way to do it, please let me know. I would really appreciate
it.
Thanks,
Sergey.
[614 byte] By [
sergey] at [2007-11-10 0:20:37]

# 1 Re: OLE structured storage
"sergey" <skats@newworldsys.com> wrote:
>The easiest way in VB is to use Dan Applemans persistent storage control,
you can find it on http://www.desaware.com.
>Hi.
>Does anyone know how to save file in OLE structured storage (like Word,
Excel,
>etc). I know I have to use IPropertySetStorage interface, but there' s no
>way to access it from VB. Microsoft has a unsupported component dsfile.dll
>that can read and change properties of document that's already been saved
>in OLE structured storage, but I get an error if I try to open a plain file.
>So if anyone knows of a component that encapsulates that interface, if you
>know of the alternate way to do it, please let me know. I would really appreciate
>it.
>
>Thanks,
>Sergey.
Mitch at 2007-11-11 20:03:15 >

# 2 Re: OLE structured storage
"sergey" <skats@newworldsys.com> wrote:
>The easiest way in VB is to use Dan Applemans persistent storage control,
you can find it on http://www.desaware.com.
>Hi.
>Does anyone know how to save file in OLE structured storage (like Word,
Excel,
>etc). I know I have to use IPropertySetStorage interface, but there' s no
>way to access it from VB. Microsoft has a unsupported component dsfile.dll
>that can read and change properties of document that's already been saved
>in OLE structured storage, but I get an error if I try to open a plain file.
>So if anyone knows of a component that encapsulates that interface, if you
>know of the alternate way to do it, please let me know. I would really appreciate
>it.
>
>Thanks,
>Sergey.
Mitch at 2007-11-11 20:04:21 >

# 3 Re: OLE structured storage
>I know I have to use IPropertySetStorage interface, but there' s no way to access it from VB.
Sergey,
Check out the structured storage type library at
http://www.domaindlx.com/e_morcillo/scripts/type/ole.asp
Mattias
__________________________________________________
Mattias Sjgren (MCP) - mattiass @ hem.passagen.se
VB+ http://hem.spray.se/mattias.sjogren/
Please send questions/replies to the newsgroups
# 4 Re: OLE structured storage
>I know I have to use IPropertySetStorage interface, but there' s no way to access it from VB.
Sergey,
Check out the structured storage type library at
http://www.domaindlx.com/e_morcillo/scripts/type/ole.asp
Mattias
__________________________________________________
Mattias Sjgren (MCP) - mattiass @ hem.passagen.se
VB+ http://hem.spray.se/mattias.sjogren/
Please send questions/replies to the newsgroups
# 5 Re: OLE structured storage
i got the typelib I'm working on it right now.
Thanks,
Sergey
mattiass.dont.want.spam@hem.passagen.se (Mattias Sjgren) wrote:
>>I know I have to use IPropertySetStorage interface, but there' s no way
to access it
>from VB.
>
>Sergey,
>
>Check out the structured storage type library at
>
>http://www.domaindlx.com/e_morcillo/scripts/type/ole.asp
>
>
>Mattias
>
>__________________________________________________
>Mattias Sjgren (MCP) - mattiass @ hem.passagen.se
> VB+ http://hem.spray.se/mattias.sjogren/
> Please send questions/replies to the newsgroups
sergey at 2007-11-11 20:07:17 >

# 6 Re: OLE structured storage
i got the typelib I'm working on it right now.
Thanks,
Sergey
mattiass.dont.want.spam@hem.passagen.se (Mattias Sjgren) wrote:
>>I know I have to use IPropertySetStorage interface, but there' s no way
to access it
>from VB.
>
>Sergey,
>
>Check out the structured storage type library at
>
>http://www.domaindlx.com/e_morcillo/scripts/type/ole.asp
>
>
>Mattias
>
>__________________________________________________
>Mattias Sjgren (MCP) - mattiass @ hem.passagen.se
> VB+ http://hem.spray.se/mattias.sjogren/
> Please send questions/replies to the newsgroups
sergey at 2007-11-11 20:08:20 >
