471,603 Members | 1,993 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,603 software developers and data experts.

Structured Storage in .NET?

ERE
I'd like to encapsulate several files -- mostly graphics files -- as a
single file. Does .NET provide a convenient way to do this? COM provided
structured storage -- but I definitely don't want to go there!

Thanks,
Dan
Jan 18 '06 #1
2 2458
ERE <ea*******@ma.ultranet.com> wrote:
I'd like to encapsulate several files -- mostly graphics files -- as a
single file. Does .NET provide a convenient way to do this? COM provided
structured storage -- but I definitely don't want to go there!


You can include files in your assemblies (make the files Embedded
Resources) and then use Assembly.GetManifestResourceStream to read the
files.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Jan 18 '06 #2
ERE
Thanks!

Dan
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
ERE <ea*******@ma.ultranet.com> wrote:
I'd like to encapsulate several files -- mostly graphics files -- as a
single file. Does .NET provide a convenient way to do this? COM
provided
structured storage -- but I definitely don't want to go there!


You can include files in your assemblies (make the files Embedded
Resources) and then use Assembly.GetManifestResourceStream to read the
files.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Jan 20 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by tlviewer | last post: by
3 posts views Thread by Edmond Neo | last post: by
4 posts views Thread by David Groves | last post: by
10 posts views Thread by Dave | last post: by
1 post views Thread by Gerald Hernandez | last post: by
3 posts views Thread by Gregory Gadow | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.