By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,933 Members | 1,574 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,933 IT Pros & Developers. It's quick & easy.

Structured Storage in .NET?

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.