Structured files in VS 2005

G

Gregory Gadow

Is there a way to create structured files in .NET 2.0? Essentially, I
want to take a hierarchic web site and convert it to a single,
navigatable file similar to the compiled help, but using my own
extention and not the standard .chm.
 
C

Cor Ligthert [MVP]

Gregory,

What is for you a "structured file" ?

This text is probably used in thousand different ways.

Cor
 
G

Gregory Gadow

Cor Ligthert said:
Gregory,

What is for you a "structured file" ?

This text is probably used in thousand different ways.

Microsoft had a technology that allowed a programmer to create a tree
structure of nodes and leaves within a single file. You navigated the
tree using a syntax similar to the one used to navigate a directory
hierarchy. Data was compressed "on the fly"; you could retrieve a leaf
within the structure without having to decompress the entire file.

Ultimately, I am looking to create a compressed file consisting of pages
in an ebook. I could use XML, but that brings up issues I would rather
not deal with, such as the overhead of XML code, compression and
encryption issues.
 
J

Jay B. Harlow [MVP - Outlook]

Gregory,
Are you referring to COM Structured Storage?

http://msdn.microsoft.com/library/d...-us/stg/stg/structured_storage_start_page.asp

Or WinFX Package:

http://windowssdk.msdn.microsoft.co.../en-us/cpref12/html/N_System_IO_Packaging.asp

http://windowssdk.msdn.microsoft.co...pref12/html/T_System_IO_Packaging_Package.asp

NOTE: a common WinFX package is simply a ZIP file (the ZipPackage)...
However developers could introduce other Package types, such as a COM
Structured Storage Package or a CAB Package.


Or possibly a CAB file:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncabsdk/html/cabdl.asp



--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| "Cor Ligthert [MVP]" wrote:
|
| > Gregory,
| >
| > What is for you a "structured file" ?
| >
| > This text is probably used in thousand different ways.
|
| Microsoft had a technology that allowed a programmer to create a tree
| structure of nodes and leaves within a single file. You navigated the
| tree using a syntax similar to the one used to navigate a directory
| hierarchy. Data was compressed "on the fly"; you could retrieve a leaf
| within the structure without having to decompress the entire file.
|
| Ultimately, I am looking to create a compressed file consisting of pages
| in an ebook. I could use XML, but that brings up issues I would rather
| not deal with, such as the overhead of XML code, compression and
| encryption issues.
| --
| Gregory Gadow
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top