By Rohit

2010-05-24 13:36:17 8 Comments

Can I find some open source library for accessing (reading only is ok) OLE Storage like doc or xls files in c#?


@ironfede 2010-08-23 06:57:53

You can use my open source (MPL) library OpenMCDF for a 100% .net implementation of COM structured storage. A sample COM structured storage file viewer is also available as a usage sample of the library.

@Rohit 2010-08-25 13:32:03

thanks dude. Will definitely try.

@James Westgate 2011-10-26 16:29:36

Cannot see any code to get Author, summary, etc :(

@user2173353 2016-02-25 10:40:58

+1 Nice work! :) Some improvement points: the CHM file does not open on my machine and it might be good to add some basic example code on how to use it here. :)

@user2173353 2016-02-25 12:30:29

Any chance there is an implementation for parsing SummaryInformation streams? : That would be really cool. :)

@Rohit 2010-05-24 18:51:50

An excellent article describes the usage.

COM structured storage from .NET

@Justin Niessner 2010-05-24 13:38:45

OleDbConnection can handle structured storage as long as the appropriate OLE DB driver is installed on the machine your app is running on.


Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsx;
    Extended Properties="Excel 12.0 Xml;HDR=YES";


Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\txtFilesFolder\;
    Extended Properties="text;HDR=Yes;FMT=Delimited"; has a whole host of other Data Sources that you can access via OLE with the built-in libraries.

@Rohit 2010-05-24 14:21:57

I want to do it with solidworks files :) Thanks for that info :)

@fhnaseer 2013-05-28 12:56:24

I have a binary structured text file, can I use OleDbConnection to read this file?,

Related Questions

Sponsored Content

47 Answered Questions

[SOLVED] How do I update the GUI from another thread?

17 Answered Questions

[SOLVED] Is there a way to check if a file is in use?

22 Answered Questions

[SOLVED] Reading settings from app.config or web.config in .net

296 Answered Questions

[SOLVED] Hidden Features of C#?

  • 2008-08-12 16:32:24
  • Serhat Ozgel
  • 662557 View
  • 1476 Score
  • 296 Answer
  • Tags:   c# hidden-features

26 Answered Questions

[SOLVED] Get int value from enum in C#

  • 2009-06-03 06:46:39
  • jim
  • 1312157 View
  • 1602 Score
  • 26 Answer
  • Tags:   c# enums casting int

5 Answered Questions

[SOLVED] Is there a reason for C#'s reuse of the variable in a foreach?

5 Answered Questions

[SOLVED] Try-catch speeding up my code?

32 Answered Questions

[SOLVED] Reading Excel files from C#

Sponsored Content