unzip on the fly

usvpn

New member
Joined
Jul 8, 2013
Messages
1
Programming Experience
1-3
Hi,
I am using .NET Framework 4.0 and want to do a task.
I have a .zip file with a folder named "word" in the root and a file named "document.xml" in the folder!
I want to unzip the <ZIP File>\word\document.xml on the fly and store the whole contents of document.xml in a string!
I will need a function like this:

Private Function GetContents(ByVal FileName) As String

FileName is the name of source zip file and contents are stored as output!
I need a VB.NET code snippet, anyone can help me here?
Thanks :)
 
Back
Top