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:
[email protected].
 
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:
[email protected].


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

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