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 425
1 Peter Leow 195
2 Zoltán Zörgő 150
3 Afzaal Ahmad Zeeshan 115
4 DamithSL 100
0 Sergey Alexandrovich Kryukov 7,442
1 OriginalGriff 5,996
2 Peter Leow 4,292
3 CHill60 2,858
4 Mika Wendelius 2,850


Advertise | Privacy | Mobile
Web01 | 2.8.150224.1 | Last Updated 6 Mar 2013
Copyright © CodeProject, 1999-2015
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