Any Way To Unzip File Without External DLL?
Oct 4, 2009Is it possible to unzip a file without having to use an external (not .NET default) resource?
View 1 RepliesIs it possible to unzip a file without having to use an external (not .NET default) resource?
View 1 RepliesAs there are no zip/unzip functions in vb.net, has anyone figured a way to do this without using any 3rd party components?I was thinking there might be a way to call a shell32 command to gzip.dll, or some other way to use windows native unzip functions?
View 14 RepliesI have the following Sub which works perfectly fine. However, I want to add an extra function to say that delete the .zip file that has been unzipped. So when it unzips the zipped files it also deletes them. [Code]
View 14 RepliesHow unzip file using chilkat?I have problem to openzip(filepath) using vb.net? [code]How to open zip file using chilkat.
View 1 RepliesHow can i unzip file using GZipStream?
View 4 RepliesI am trying to find out how to zip and unzip a file in Visual Basic 2010. I have looked extensively on google and youtube, but found little of use. I was able to run one block of code though:
Sub CompressFile(ByVal filetozip As String, ByVal zipfile As String)
Try
Dim fs As FileStream
[Code]....
but this is not what I need. I am creating a Desktop Screen Capture Program, for personal use, that takes a screen when a set timer ticks (1 min or 60000 milliseconds) and in that timer tick a call to a sub is made, CompressFile( file, compressedfilename). See the problem here? It overwrites the compressed file with the second screenshot. So I need to know how to create a Zip Archive, preferably Not using Gzipstream. I need one that i can open in Winzip or 7-zip. And before you ask, yes I tried to add a reference to the 7z.dll, and error. It does not matter whether the solution to this problem requires outside or inside visual basic, though i ask you ensure it is Virus-Free if it involves downloading.
I am looking for some help in downloading latest Zip file from a FTP location and UnZIP it by saving to a particular location using VB.NET GipStream or some other method. I prefer not to use any 3rd party controls.
View 1 Replieshow can I unzip a file in vb.net without using third party software as I am not allowed to?
View 2 RepliesI want to know how to unzip a zip file and extract the files to a particular location
View 5 Repliesextract a single file (WantedFile.xml) from a .ZIP file (THEBIGZipFile.zip) using native VB.NET Code?I think .NET FW 3.5 or 4.0 has "System.IO.Packaging.Package " which can be used? Not sure. Please advice.
Note: I will not be able to install or distribute any other DLLs like (ICSharp or VJ# or cant use process command to invoke winzip etc).
How can I make my application to extract files inside .rar/zip archive in application.startupPath directory!?
View 2 RepliesThe following code allows me to browse and unzip a file, I want to be able to select a folder instead of a filename and unzip all the .zip files in that folder.How can I update the code please..
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ofd As New OpenFileDialog
[code].....
I've been working on an application that uses TCP to send messages to another computer, but I am going to be updating it alot!I know how to make my program update itself, but I just want a progress bar so you know how long it will take until the file is completely downloaded.Also does anyone know how to zip and unzip files in VB.NET, it would make my updater easier if it can just download a zip file and then unzip it and copy the contents to my applications running directory.
View 2 RepliesI am using Shell Dll to unzip zip file in vb.net 2005. Following is the code for this.
Dim sc As Shell32.Shell = New Shell32.Shell
Dim srcf As Shell32.Folder = sc.NameSpace(src)
Dim desf As Shell32.Folder = sc.NameSpace(des)
[code].....
I keep getting a NullReferenceException error on this UNZIP code:
Dim Sh As New Shell
Dim SF As Folder = Sh.NameSpace("C:\test.zip")
Dim DF As Folder = Sh.NameSpace("C:\test")
[Code]....
i checked to see if i had a test.zip file in my root dir...its there... i have shell32 referenced
I have a dll file which is reading a in.txt file and write a out.txt file. No need pass any variables to dll. Dll file runs alone.
I could not add this dll as referance. What I nned to do to just run this dll?
I'm creating an installer program. As part of the install process, I need to run/install the "AccessRuntime.exe" file.
How do I run this external EXE file from within my installer program?
Is there any code for vb.net so i can zip and unzip file without any 3rd party programs e.g. (i know this is not right)
Using zip As ZipFile = New ZipFile
zip.AddDirectory(directory)
zip.Save(targetZip)
End Using
just as the title says i want to zip/unzip files using vb ocde to make a standalone vb application. I saw a couple out there but didnt really know how to work with them
View 2 RepliesI need to unzip a list of .Z files which will be kept in a folder using Visual Basic.NET. For example, consider that there is a folder like C:FilesToBeUnzipped. Inside this folder there will some 5 to 6 files with .Z as extension. I need to unzip all these .Z files and save the unzipped files in a folder like C:UnzippedDataFiles.
Is this possible in VB.NET? Is there any free component or class library to achive it?
Looking for log4net.dll - download will not unzip I have been to [URL].. and downloaded both files: incubating-log4net-1.2.10.zip incubating-log4net-1.2.9-beta.zip. Neither one will unzip. I have tried downloading twice and have used WinZip 12 and whatever comes with XP.
View 4 Replieshow to add External dependencies .lib file in vb.net
View 2 RepliesI am quite new to programming so please bear with me if I am asking stupid questions. I have searched the forums but couldn't find a (comprehensible) answer.I am calling an external .exe file from VB, I do this with Shell.The external .exe opens a command window and asks for a file name. I am trying to make vb to input a file name into the command window but I m not sure how. The SendKeys command doesn't seem to work.
View 18 RepliesHow to get FileVersion from external exe in VB.net?
View 1 RepliesSo, i made a post earlier on how to loop through an external file looking for another process that is running, i have successfully done this last night, and the only problem i have now, is the placing of this code so it works correctly, in the following format:
Dim HackApp As Process() = Process.GetProcessesByName(Cprog)
If Checker.ChkDone.Checked = True Then
Try
[Code]....
Well i have developed VB code in which i want to call an external application.I know this can be done using shell command i.e.
" shell("C:\abc.exe") ". But when i execute this statement the file actually runs.This is not what i am looking for, I am looking for a piece of code which ensures that the file can run successfully without executing it
i would like to zip and unzip a folder using visual basic script,
View 2 RepliesIs it possible to programmatically zip/unzip files in vb.net? Meaning, not that it will extract the files for the user, but take the files inside the zip and be able to use them in the application?
View 2 RepliesI have a button when clicked unzips a file in a located folder. This code unzips one filename at a time. What I want to do is unzip all files in a folder at one time.. assuming the folder has been selected and the target folder selected too... The code to unzip each filename is shown below...
[Code]...
I want to unzip folder and all its contents like sub folder and files. Can I write a program in vb.net 2005 to solve this issue.
View 1 Replies