-1

i have a project using asp.net mvc 3 C#. and now i want to have a view that can read word file. i want it looks like SkyDrive, just select the word file (.docx) and then it will show the file in my view. i don't have any idea how to start, can you explain me how to make it happen ?

thanks a lot.

ntep vodka
  • 735
  • 3
  • 11
  • 27
  • What have you tried so far? Are you asking for help reading the files (e.g. http://stackoverflow.com/questions/215620/how-to-load-ms-word-document-in-c-sharp-net?rq=1) or with design? – lukiffer Jul 02 '12 at 04:00

2 Answers2

4

Use Open Xml SDK. It's free, you don't need any Office libraries and there are many resources on the web. This one, for example.

dan radu
  • 2,772
  • 4
  • 18
  • 23
1

If you just want to show an image of the document then you can open the .docx file as a zip and extract the docProps\thumbnail.wmf file.

ZippyV
  • 12,540
  • 3
  • 37
  • 52