Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Word
I want to Unzip docx file using C# ,, how I can do ?
Posted 5-Mar-13 23:31pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

docx is Office Open XML[^] format.
So, this has not directly to do with general purpose zip, but rather with the way office stores the file.
 
C# provides the package class[^] to process such files.
 
Please note that a package only understands the form, not the content. I.e. if you want to process word files, this is not really a fruitful approach. Use VSTO[^] or Office.Interop[^] instead.
 
Cheers
Andi
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Can you please have a look at this link[^].
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

See here[^].
  Permalink  
Comments
Andreas Gieriet at 6-Mar-13 5:51am
   
I think, this is not really about Zip but about unpack a package format file that happens to be stored in a zip form. See my solution#4 below.
Cheers
Andi
Richard MacCutchan at 6-Mar-13 6:10am
   
Thanks for the information.
Andreas Gieriet at 6-Mar-13 6:42am
   
You are welcome!
Andi
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Check this for better code explanation Click me
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 190
1 Jochen Arndt 165
2 PIEBALDconsult 150
3 BillWoodruff 148
4 DamithSL 140
0 OriginalGriff 5,695
1 DamithSL 4,591
2 Maciej Los 4,012
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 6 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100