Can I find some open source library for accessing (reading only is ok) OLE Storage like doc or xls files in c#?
A:
OleDbConnection can handle structured storage as long as the appropriate OLE DB driver is installed on the machine your app is running on.
Excel:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsx;
Extended Properties="Excel 12.0 Xml;HDR=YES";
Text:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\txtFilesFolder\;
Extended Properties="text;HDR=Yes;FMT=Delimited";
ConnectionStrings.com has a whole host of other Data Sources that you can access via OLE with the built-in libraries.
Justin Niessner
2010-05-24 13:38:45
I want to do it with solidworks files :) Thanks for that info :)
Rohit
2010-05-24 14:21:57