Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...