473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

7zip compression

115 100+
VB.NET 2003 or 2005 application program.

i was trying to create an application program to compress some files using 7zip. when application program runs, need to browse and select the files need to be compressed and mention the name of the zip file and compress the file in that folder.

i google for some help. i'm getting examples only in C#.

Anyone know whether i can do this in VB.NET? if so, can you please help me and if possible can you please give an example?

Thanks in advance.
Oct 6 '10 #1
4 10683
remya1000
115 100+
i checked and found some C# codes from this link...

http://www.7-zip.org/sdk.html

when i open that, it contain some classes. i'm not getting any idea how to call that class and compress files using 7zip.

can you please help me and if possible can you please give an example?

Thanks in advance.
Oct 6 '10 #2
Frinavale
9,735 Expert Mod 8TB
By the sounds of it, (from reading the link you posted) there should be documentation included...

Did you find any?

-Frinny
Oct 7 '10 #3
7z command line format is:
7z <command> <archive-name> <filenames>
In your vb application execute the command line:

c:\Program Files\7-zip\7z a archivename.7z theFileNameThatToBeZipped


Where:
1) c:\Program Files\7-zip\ specify where 7z.exe is located
2) a is the 7z command to add to the archive
Oct 8 '10 #4
remya1000
115 100+
its working...

Thank you so much for the help...
Oct 12 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jaco Smuts | last post by:
Hello there I am developing an application using wxPython and some other libraries (including, now pysqlite 0.5.1). I am distributing this app using py2exe and innosetup I'm trying to...
2
by: Jim Hubbard | last post by:
I went to the compression newsgroups, but all I saw was spam. So, I thought I'd post his question here to get the best info I could from other programmers. Which compression algorithm offers...
8
by: Anurag | last post by:
Hi, I am told that Oracle has this "data compression" feature that allows you to store online data ina compressed format. This is different from archived data - you compress only that data which...
1
by: chris.atlee | last post by:
I'm writing a program in python that creates tar files of a certain maximum size (to fit onto CD/DVD). One of the problems I'm running into is that when using compression, it's pretty much...
0
by: mpmason14 | last post by:
for those of you who don't know, 7zip is like winzip, but does not have a max. compression size i have a batch file to backup folders on my server. i use 7zip to compress the files during the...
0
by: jack | last post by:
I start process 7zip (http://www.7-zip.org/): myProc.StartInfo.FileName = Application.StartupPath + @"\7z.exe"; myProc.StartInfo.Arguments = "a -mx9 -y -r " + pathwhat + " " pathwhere...
20
by: chance | last post by:
Hello, I want to add compression to a memory stream and save it in an Oracle database. This is the code I have so far: //save the Word document to a binary field, MemoryStream dataStream = new...
21
by: =?Utf-8?B?VkJB?= | last post by:
I compressed a file with GZipStream class and is larger than the original file.... how can this be?, the original file is 737 KB and the "compressed" file is 1.1 MB. Did i miss something or is...
3
by: GiJeet | last post by:
Hello, we have an app that scans documents into TIFF format and we need to transfer them over the internet. If anyone knows of a SDK we can use that can compress TIFFs on the fly or even if it can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.