Results 1 to 6 of 6

Thread: Handle 7z Compressed File In VB.NET (Not Shell)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Question Handle 7z Compressed File In VB.NET (Not Shell)

    Greetings..
    hope all members of this community is fine.

    I have a specific needs/help about 7z compress file. I hope all knows what is 7z file. It's a compress file format created by 7zip.

    I have lot's of data I need to give to end user what is 10+ GB (after compressing with 7zip).

    So, I compress the data using 7zip and split the files 1024MB (1GB).
    So, for example for 10GB Data it will be 10 files likes:
    Code:
    Data.001.7z
    Data.002.7z
    Data.003.7z
    Data.004.7z
    Data.005.7z
    Data.006.7z
    Data.007.7z
    Data.008.7z
    Data.009.7z
    Data.010.7z
    so, I put those data on 3 DVD disk.

    I also made a extractor/installer (later I will call it my app) for that data.

    my app use 7zip CLI (Command line interface) in background to extract the data. I put my installer also in the DVD.

    Current Scenario:
    Now user have to first copy all the disks (for this example 3 disk) in a single folder. Then run my installer to extract the file.

    they have to put all the disk into single/same folder because 7z GuI/CLI doesn't support looking for not found files. by that I means for example if Data.006.7z file is missing it will not ask user to browse and select that file. It will just abort the process with error message.

    The Issue With Current Scenario:
    As mentioned above, user have to first copy all the disk into their hdd. It's have 3 major issue:
    Code:
    1. They must have that much space to copy all the disk in to same folder/drive
    2. It will take so long to copy the disk then extract the data.
    3. It need double space than it should :(
    What I am looking for:
    I have seen 7zip have LZMA SDK. but don't have vb.net client library for that . I am looking to use that LZMA SDK in my vb.net project. So, I can handle those 7z files and overcome 7zip gui/issue.

    So, my app will first extract the 7z files that found in disk 1 for example 001 to 004 then it ask for the 2nd disk and when user put 2nd disk it will continue from that number for example 005 and ask for disk 3 when it needs and so on..

    hope that makes sense ?

    I know this is possible because I see some installer use LZMA to compress the files that could cover multiple disk and then installer install them correctly

    so, can any one help me to achieve the goal? please?

    thank in advance..

    best regards
    Last edited by Shohag_ifas; Nov 15th, 2014 at 11:55 PM.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Handle 7z Compressed File In VB.NET (Not Shell)

    any one? any help? please?

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Handle 7z Compressed File In VB.NET (Not Shell)

    according to their site it does support C#... which is just a hop from VB.NET.
    http://www.7-zip.org/sdk.html
    Name:  LZMASDK.jpg
Views: 1126
Size:  58.6 KB

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Handle 7z Compressed File In VB.NET (Not Shell)

    Quote Originally Posted by techgnome View Post
    according to their site it does support C#... which is just a hop from VB.NET.
    http://www.7-zip.org/sdk.html

    -tg

    thanks a lot for your reply sir. however before i post the topic i looked over that and also here and there then i post this topic. The sample/source code for C# found there is not that much helpful

    however thanks for your sharing sir..

    best regards

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Handle 7z Compressed File In VB.NET (Not Shell)

    any one please?

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Handle 7z Compressed File In VB.NET (Not Shell)

    so? no helping hand around?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width