7zip compression

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • remya1000
    New Member
    • Apr 2007
    • 115

    7zip compression

    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.
  • remya1000
    New Member
    • Apr 2007
    • 115

    #2
    i checked and found some C# codes from this link...

    7z, lzma, 7-zip, archiver, free, compression, zip, best, compress, solid, high, ratio, unzip, far, win32, 7zip, long, file, names


    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.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      By the sounds of it, (from reading the link you posted) there should be documentation included...

      Did you find any?

      -Frinny

      Comment

      • ling zhen

        #4
        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 theFileNameThat ToBeZipped


        Where:
        1) c:\Program Files\7-zip\ specify where 7z.exe is located
        2) a is the 7z command to add to the archive

        Comment

        • remya1000
          New Member
          • Apr 2007
          • 115

          #5
          its working...

          Thank you so much for the help...

          Comment

          Working...