asp.net - Read word document in C# -


i want read word document in server (both doc , docx). server not have office installed, therefore can't use com objects , no commercial softwares.

is there way can use office tools alone , read word docs (2003 , 2007)

unfortunately there no free options reading .doc , .docx files. commercial options sparse @ reasonable prices, there extremely expensive options.

for reading .doc files free option i'm aware of poi java can run in .net using ikvm. however, word support in experimental branch of poi's svn repository, don't know how works.

http://poi.apache.org/

http://www.ikvm.net/

if want text out of .doc file , don't care formatting, can use ifilter win32 interface through pinvoke.

for reading .docx files can use microsoft office open xml sdk. don't let "sdk" fool though, light abstraction on dealing xml directly. it's painful use.

http://www.microsoft.com/downloads/en/details.aspx?familyid=c6e744e5-36e9-45f5-8d8c-331df206e0d0&displaylang=en


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -