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
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