reading/writing XLS, DOC, PPT in .NET

C

Colbert Zhou [MSFT]

Hello Dave,

We can find all Office Binary File Format Specs in the following document,
http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx

The Office 97-2003 binary file formats use the Windows Structured Storage
APIs. The Office-specific information is stored as streams in this more
generalized format. Common elements, such as document properties, can be
accessed through the Structured Storage APIs and do not require access to
the Office binary file format documentation. Unfortunately, the Structured
Storage API only exist in native world. We can only call a lot of P/Invoke
to access it from .NET

Actually, Office binary file formats are designed to be accessed through
the Office Application Programming Interfaces (APIs), instead of by direct
manipulation of the file format. Because of the complexity of the formats,
direct manipulation can cause corruption and is strongly discouraged.

For more detailed information, please have a look at the following KB
article.
http://support.microsoft.com/kb/840817


Best regards,
Colbert Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
 
D

David Thielen

Bummer - that was not the answer I wanted. Oh well...



Hello Dave,

We can find all Office Binary File Format Specs in the following document,
http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx

The Office 97-2003 binary file formats use the Windows Structured Storage
APIs. The Office-specific information is stored as streams in this more
generalized format. Common elements, such as document properties, can be
accessed through the Structured Storage APIs and do not require access to
the Office binary file format documentation. Unfortunately, the Structured
Storage API only exist in native world. We can only call a lot of P/Invoke
to access it from .NET

Actually, Office binary file formats are designed to be accessed through
the Office Application Programming Interfaces (APIs), instead of by direct
manipulation of the file format. Because of the complexity of the formats,
direct manipulation can cause corruption and is strongly discouraged.

For more detailed information, please have a look at the following KB
article.
http://support.microsoft.com/kb/840817


Best regards,
Colbert Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 

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